summaryrefslogtreecommitdiffstats
path: root/test/lib/puppettest/support/assertions.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/lib/puppettest/support/assertions.rb')
-rw-r--r--test/lib/puppettest/support/assertions.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lib/puppettest/support/assertions.rb b/test/lib/puppettest/support/assertions.rb
index b4dd1338b..528c7b8db 100644
--- a/test/lib/puppettest/support/assertions.rb
+++ b/test/lib/puppettest/support/assertions.rb
@@ -20,7 +20,7 @@ module PuppetTest
Puppet::Util::SUIDManager.gid = gid
Puppet::Util::SUIDManager.uid = uid
# FIXME: use the tempfile method from puppettest.rb
- system("mkfifo "+filename)
+ system("mkfifo #{filename}")
f = File.open(filename, "w")
f << "#{Puppet::Util::SUIDManager.uid}\n#{Puppet::Util::SUIDManager.gid}\n"
yield if block_given?