Skip to content

Commit 8de7efe

Browse files
committed
Filter jail integration tests unless on FreeBSD
Jails are only available on FreeBSD, running the integration tests on Linux will fail, so exclude these tests unless we run FreeBSD.
1 parent b9db091 commit 8de7efe

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

spec/spec_helper.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@
4848
end
4949

5050
config.filter_run_excluding windows: true unless Bolt::Util.windows?
51+
config.filter_run_excluding jail: true unless RUBY_PLATFORM =~ /-freebsd\d+\z/
5152

5253
# rspec-mocks config
5354
config.mock_with :rspec do |mocks|

0 commit comments

Comments
 (0)