summaryrefslogtreecommitdiff
path: root/spec/scripts
diff options
context:
space:
mode:
authorJohn Keiser <john@johnkeiser.com>2016-02-10 14:45:53 -0800
committerJohn Keiser <john@johnkeiser.com>2016-02-10 15:07:18 -0800
commitdaf010ed1549617cae8878ca0abbe37ab2a4719f (patch)
tree9c9c5ed99fe4906c8c307a40c4bf83baf5886905 /spec/scripts
parentcd96a4a386e7da079061b60923b98abc7f8e74f5 (diff)
downloadchef-daf010ed1549617cae8878ca0abbe37ab2a4719f.tar.gz
Respect TMPDIR in functional tests
Diffstat (limited to 'spec/scripts')
-rw-r--r--spec/scripts/ssl-serve.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/scripts/ssl-serve.rb b/spec/scripts/ssl-serve.rb
index 284c58aa78..c05aa2c285 100644
--- a/spec/scripts/ssl-serve.rb
+++ b/spec/scripts/ssl-serve.rb
@@ -34,7 +34,7 @@ DEFAULT_OPTIONS = {
:Host => "localhost",
:environment => :none,
:Logger => LOGGER,
- :DocumentRoot => File.expand_path("/tmp/chef-118-sampledata")
+ :DocumentRoot => File.expand_path("#{Dir.tmpdir}/chef-118-sampledata")
#:AccessLog => [] # Remove this option to enable the access log when debugging.
}