diff options
| author | Poornima <94897054+poorndm@users.noreply.github.com> | 2022-07-13 21:04:23 +0530 |
|---|---|---|
| committer | Poornima <94897054+poorndm@users.noreply.github.com> | 2022-07-13 21:04:23 +0530 |
| commit | 527f8c3dcda681b17ddc2901ac0b8facbe9571e9 (patch) | |
| tree | 48fd51e6d0f8137547a444efccbf018c2957abfa /spec/support | |
| parent | c09121ae39121d946684bfe6681686693243aec8 (diff) | |
| download | chef-527f8c3dcda681b17ddc2901ac0b8facbe9571e9.tar.gz | |
Skip tests on FreeBSD-13
Signed-off-by: Poornima <94897054+poorndm@users.noreply.github.com>
Diffstat (limited to 'spec/support')
| -rw-r--r-- | spec/support/platform_helpers.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/support/platform_helpers.rb b/spec/support/platform_helpers.rb index 430d9b055f..6ed0945286 100644 --- a/spec/support/platform_helpers.rb +++ b/spec/support/platform_helpers.rb @@ -127,6 +127,10 @@ def freebsd? RUBY_PLATFORM.include?("freebsd") end +def freebsd_gte_12_3? + RUBY_PLATFORM.include?("freebsd") && !!(ohai[:platform_version].to_f >= 12.3) +end + def intel_64bit? !!(ohai[:kernel][:machine] == "x86_64") end |
