summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoradamedx <adamed@getchef.com>2014-12-19 23:37:06 -0800
committeradamedx <adamed@getchef.com>2014-12-19 23:37:06 -0800
commitd183da22745a0133c81fba046511a9b43185da59 (patch)
tree40c75eba9c407d50322c974ca16ba7d4b91ef8db
parent399674d53dfb15c731915ea6d95749774e19876c (diff)
downloadchef-adamedx/tester-perf.tar.gz
Test LOGONSERVER impact on test perfadamedx/tester-perf
-rw-r--r--spec/spec_helper.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index 995be5060b..83d1c473b4 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -18,6 +18,10 @@
# If you need to add anything in here, don't.
# Add it to one of the files in spec/support
+# Test setting the LOGONSERVER environment variable
+# to see if it works around Net* api usage in msys
+ENV['LOGONSERVER'] = ENV['COMPUTERNAME']
+
# Abuse ruby's constant lookup to avoid undefined constant errors
module Shell
JUST_TESTING_MOVE_ALONG = true unless defined? JUST_TESTING_MOVE_ALONG