Skip to content

Commit 66d9625

Browse files
committed
Exclude links from the check
1 parent c966c64 commit 66d9625

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec/e2e/00_package_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,9 +109,9 @@
109109
end
110110

111111
it 'dumps gems with world write' do
112-
on hosts, "find #{ood_gems_path} -perm /002 -exec ls -la {} \\;"
112+
on hosts, "find #{ood_gems_path} -perm /002 ! -type l -exec ls -la {} \\;"
113113
end
114-
describe command("find #{ood_gems_path} -perm /002") do
114+
describe command("find #{ood_gems_path} -perm /002 ! -type l") do
115115
its(:stdout) { is_expected.to be_empty }
116116
end
117117
end

0 commit comments

Comments
 (0)