Skip to content

Commit 5aebc88

Browse files
committed
(maint) Expands test to include macOS 12
This test excludes all versions of macOS starting from 10.15 Catalina. This commit updates the regex to exclude the newly- release macOS 12 Monterey and any newer releases.
1 parent a6bd0b4 commit 5aebc88

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

acceptance/tests/resource/file/ticket_8740_should_not_enumerate_root_directory.rb

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
test_name "#8740: should not enumerate root directory"
22

33
confine :except, :platform => 'windows'
4-
confine :except, :platform => /(osx-10.1[5-9]|osx-11-)/
4+
confine :except, :platform => /(osx-10.1[5-9]|osx-1[1-9]-)/
5+
# TODO: After Puppet drops support for macOS 10.15, remove above regex and simply exclude the 'osx' platform altogether
56

67
tag 'audit:high',
78
'audit:refactor', # Use block style `test_name`

0 commit comments

Comments
 (0)