summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2015-05-27 15:06:30 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2015-05-27 15:06:30 -0700
commit5b2b88ffceb11ed581120cb6ecaca828e8a76962 (patch)
treef45e8343529216cb47dd714664d3a8e1f4db20f1
parentd8172e646d9fbf43e57bca5e20d0ac352ba9a66a (diff)
downloadchef-lcg/windows-doesnt-have-uname.tar.gz
windows does not have unamelcg/windows-doesnt-have-uname
although appveyor does, so must have cygwin?
-rw-r--r--spec/spec_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index 8b5e42e5b6..dcf244c3cc 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -151,7 +151,7 @@ RSpec.configure do |config|
config.filter_run_excluding :aes_256_gcm_only => true unless aes_256_gcm?
config.filter_run_excluding :broken => true
- running_platform_arch = `uname -m`.strip
+ running_platform_arch = `uname -m`.strip unless windows?
config.filter_run_excluding :arch => lambda {|target_arch|
running_platform_arch != target_arch