Skip to content

Commit 83d5a75

Browse files
(maint) Merge up b68c194 to main
Generated by CI * commit 'b68c194bb0cf3e9171fa26b0d5a4e549e2f964f5': (packaging) Updating manpage file for 6.x (maint) Handle Cygwin 3 (maint) Drop special case for symlinks on 2003 Revert "Merge pull request #8920 from joshcooper/win11_6x" Revert "Merge pull request #8922 from joshcooper/win11_6x_user" Conflicts: man/man8/puppet-key.8 man/man8/puppet-man.8 man/man8/puppet-status.8
2 parents f9dc685 + b68c194 commit 83d5a75

27 files changed

+19
-35
lines changed

acceptance/tests/agent/agent_fails_with_unknown_resource.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@
1010
require 'puppet/acceptance/temp_file_utils'
1111
extend Puppet::Acceptance::TempFileUtils
1212

13-
pending_test("Windows 11 not sure why this fails") if agents.any? { |host| host['platform'] =~ /windows-11/ }
14-
1513
step "agent should fail when it can't find a resource" do
1614
vendor_modules_path = master.tmpdir('vendor_modules')
1715
tmp_environment = mk_tmp_environment_with_teardown(master, 'tmp')

acceptance/tests/modulepath.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
test_name 'Supports vendored modules' do
22
tag 'risk:high'
33

4-
pending_test("Windows 11 scp seems to crash sshd") if agents.any? { |host| host['platform'] =~ /windows-11/ }
5-
64
# beacon custom type emits a message so we can tell where the
75
# type was loaded from, e.g. vendored, global, and whether the
86
# type was loaded locally or pluginsynced from the master.

acceptance/tests/resource/exec/should_run_bad_command.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,14 @@ def stop_sleep_process(targets, accept_no_pid_found = false)
2727
when /osx/
2828
command = "ps -e -o pid,comm | grep sleep | sed 's/^[^0-9]*//g' | cut -d\\ -f1"
2929
when /win/
30-
command = "ps -efW | grep PING | sed 's/^[^0-9]*[0-9]*[^0-9]*//g' | cut -d ' ' -f1"
30+
command = "cmd.exe /C WMIC path win32_process WHERE Name=\\\"PING.EXE\\\" get ProcessId | egrep -o '[0-9]+\\s*$'"
3131
else
3232
command = "ps -ef | grep 'bin/sleep ' | grep -v 'grep' | grep -v 'true' | sed 's/^[^0-9]*//g' | cut -d\\ -f1"
3333
end
3434

3535
# A failed test may leave an orphaned sleep process, handle multiple matches.
3636
pids = nil
37-
on(target, command) do |output|
37+
on(target, command, accept_all_exit_codes: accept_no_pid_found) do |output|
3838
pids = output.stdout.chomp.split
3939
if pids.empty? && !accept_no_pid_found
4040
raise("Did not find a pid for a sleep process on #{target}")

acceptance/tests/resource/file/ticket_6448_file_with_utf8_source.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@
1414
agent_tmp_dirs = {}
1515

1616
agents.each do |agent|
17-
pending_test("Windows 11 UTF-8 file paths") if agent['platform'] =~ /windows-11/
18-
1917
agent_tmp_dirs[agent_to_fqdn(agent)] = agent.tmpdir(tmp_environment)
2018
end
2119

acceptance/tests/resource/file/ticket_7680-follow-symlinks.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
'audit:acceptance'
66

77
agents.each do |agent|
8-
pending_test("Windows 11 backslashes") if agent['platform'] =~ /windows-11/
98

109
step "Create file content"
1110
real_source = agent.tmpfile('follow_links_source')

acceptance/tests/resource/service/windows_mixed_utf8.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,6 @@ def service_manifest(name, params)
3838
}
3939
].each do |mock_service|
4040
agents.each do |agent|
41-
pending_test("Windows 11 UTF-8 file paths") if agent['platform'] =~ /windows-11/
42-
4341
setup_service(agent, mock_service, 'MockService.cs')
4442

4543
step 'Verify that enable = false disables the service' do

acceptance/tests/resource/user/should_modify_when_not_managing_home.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,6 @@ def get_home_dir(host, user_name)
2525
home_prop = nil
2626
case agent['platform']
2727
when /windows/
28-
pending_test("Windows 11 backslashes") if agent['platform'] =~ /windows-11/
29-
3028
# Sadly Windows ADSI won't tell us the default home directory
3129
# for a user. You can get it via WMI Win32_UserProfile, but that
3230
# doesn't exist in a base 2003 install. So we simply specify an

acceptance/tests/resource/user/should_modify_while_managing_home.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@
1010
require 'puppet/acceptance/windows_utils'
1111
extend Puppet::Acceptance::WindowsUtils
1212

13-
pending_test("Windows 11 backslashes") if agents.any? { |host| host['platform'] =~ /windows-11/ }
14-
1513
name = "pl#{rand(999999).to_i}"
1614
pw = "Passwrd-#{rand(999999).to_i}"[0..11]
1715

acceptance/tests/utf8/utf8-in-catalog.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
on(master, "rm -rf '#{codedir}'")
1212
env_dir = "#{codedir}/environments"
1313
agents.each do |agent|
14-
pending_test("Windows 11 UTF-8 file paths") if agent['platform'] =~ /windows-11/
1514

1615
step "agent name: #{agent.hostname}, platform: #{agent.platform}"
1716
agent_vardir = agent.tmpdir("agent_vardir")

acceptance/tests/utf8/utf8-recursive-copy.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@
1515
extend Puppet::Acceptance::I18nUtils
1616

1717
agents.each do |host|
18-
pending_test("Windows 11 UTF-8 file paths") if host['platform'] =~ /windows-11/
19-
2018
filename = "Fișier"
2119
content = <<-CONTENT
2220
閑けさや

0 commit comments

Comments
 (0)