summaryrefslogtreecommitdiffstats
path: root/test/client
diff options
context:
space:
mode:
authormpalmer <mpalmer@980ebf18-57e1-0310-9a29-db15c13687c0>2006-12-31 06:25:13 +0000
committermpalmer <mpalmer@980ebf18-57e1-0310-9a29-db15c13687c0>2006-12-31 06:25:13 +0000
commit38244fb13d3506243e86ab443bbc7da36f4e07dd (patch)
tree05a7e9d111aeb813a2cbd6e3e0bcfeaf9f45de4b /test/client
parent27c1b49bb78729d0bb545f5998d4539c64f14d71 (diff)
downloadpuppet-38244fb13d3506243e86ab443bbc7da36f4e07dd.tar.gz
puppet-38244fb13d3506243e86ab443bbc7da36f4e07dd.tar.xz
puppet-38244fb13d3506243e86ab443bbc7da36f4e07dd.zip
Create rundir in a test that needs it
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2004 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'test/client')
-rwxr-xr-xtest/client/client.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/client/client.rb b/test/client/client.rb
index d5221fbba..f390c8d67 100755
--- a/test/client/client.rb
+++ b/test/client/client.rb
@@ -170,6 +170,7 @@ class TestClient < Test::Unit::TestCase
end
def test_setpidfile
+ FileUtils.mkdir_p(Puppet[:rundir])
$clientrun = false
newclass = Class.new(Puppet::Client) do
def run