summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2006-09-19 18:21:44 +0000
committerluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2006-09-19 18:21:44 +0000
commit62917fcd73fa7eac1b254a46ddb54dd1b4d9fe6d (patch)
treedf45b279660f54749b8c780883c72b29238f0096
parent3891f48119ea01d04d7495cf2f07a9ddb37b2afc (diff)
downloadpuppet-62917fcd73fa7eac1b254a46ddb54dd1b4d9fe6d.tar.gz
puppet-62917fcd73fa7eac1b254a46ddb54dd1b4d9fe6d.tar.xz
puppet-62917fcd73fa7eac1b254a46ddb54dd1b4d9fe6d.zip
Small update to the fileserver tests; it was apparently not making some test dirs correctly
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1633 980ebf18-57e1-0310-9a29-db15c13687c0
-rwxr-xr-xtest/server/fileserver.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/server/fileserver.rb b/test/server/fileserver.rb
index e7aaa6017..ddb5779a9 100755
--- a/test/server/fileserver.rb
+++ b/test/server/fileserver.rb
@@ -388,7 +388,7 @@ class TestFileServer < Test::Unit::TestCase
# verify that 'describe' works as advertised
def test_describe
server = nil
- testdir = tempfile()
+ testdir = tstdir()
files = mktestfiles(testdir)
file = nil
@@ -455,6 +455,7 @@ class TestFileServer < Test::Unit::TestCase
mounts = {}
%w{thing thus these those}.each { |dir|
path = File.join(basedir, dir)
+ Dir.mkdir(path)
mounts[dir] = mktestfiles(path)
}