summaryrefslogtreecommitdiffstats
path: root/test/executables/puppetmodule.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/executables/puppetmodule.rb')
-rwxr-xr-xtest/executables/puppetmodule.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/executables/puppetmodule.rb b/test/executables/puppetmodule.rb
index fcd85f42c..cff43a0e5 100755
--- a/test/executables/puppetmodule.rb
+++ b/test/executables/puppetmodule.rb
@@ -44,7 +44,7 @@ class TestPuppetModule < Test::Unit::TestCase
ENV["CFALLCLASSES"] = "yaytest:all"
assert_nothing_raised {
- system(cmd + " " + file)
+ %x{#{cmd + " " + file} 2>&1}
}
assert($? == 0, "Puppet module exited with code %s" % $?.to_i)