diff options
author | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2006-09-19 18:21:44 +0000 |
---|---|---|
committer | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2006-09-19 18:21:44 +0000 |
commit | 62917fcd73fa7eac1b254a46ddb54dd1b4d9fe6d (patch) | |
tree | df45b279660f54749b8c780883c72b29238f0096 | |
parent | 3891f48119ea01d04d7495cf2f07a9ddb37b2afc (diff) | |
download | puppet-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-x | test/server/fileserver.rb | 3 |
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) } |