Skip to content

Commit e9d5c20

Browse files
committed
(maint) Restore macOS group test
In 8e9f9cb, we disabled macOS 12 and 13 ARM from running the test to query all groups due to an issue with those images in Puppet's CI system. This issue was resolved in ITHELP-70197 and the test can be re-enabled for these platforms.
1 parent 810bf8e commit e9d5c20

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

acceptance/tests/resource/group/should_query_all.rb

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,6 @@
88
skip_test('this test fails on windows French due to Cygwin/UTF Issues - PUP-8319,IMAGES-492') if agent['platform'] =~ /windows/ && agent['locale'] == 'fr'
99
step "query natively"
1010

11-
# [PA-4555] Added below code to enable SSH permissions before test starts if they are disabled by default
12-
if (agent['platform'] =~ /osx-12-arm64/ || agent['platform'] =~ /osx-13-arm64/)
13-
on(agent, 'dscl . list /Groups | grep com.apple.access_ssh') do
14-
stdout.each_line do |line|
15-
if line =~ /com.apple.access_ssh-disabled/
16-
on(agent, 'dscl . change /Groups/com.apple.access_ssh-disabled RecordName com.apple.access_ssh-disabled com.apple.access_ssh')
17-
end
18-
end
19-
end
20-
end
21-
2211
groups = agent.group_list
2312

2413
fail_test("No groups found") unless groups

0 commit comments

Comments
 (0)