From 62917fcd73fa7eac1b254a46ddb54dd1b4d9fe6d Mon Sep 17 00:00:00 2001 From: luke Date: Tue, 19 Sep 2006 18:21:44 +0000 Subject: 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 --- test/server/fileserver.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'test/server') 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) } -- cgit