aboutsummaryrefslogtreecommitdiffstats
path: root/tests/common.rb
diff options
context:
space:
mode:
authorMartin Pärtel <martin.partel@gmail.com>2012-03-26 19:27:18 +0300
committerMartin Pärtel <martin.partel@gmail.com>2012-03-26 19:27:18 +0300
commit9bcae813af89d445a4d269e83c371847075f1008 (patch)
tree4b54d7d3c56ce93910635e2d306a84a7b322b1ba /tests/common.rb
parent6d96d673fa3977364a9cb3c8c9d3c82ced521bb6 (diff)
downloadbindfs-9bcae813af89d445a4d269e83c371847075f1008.tar.gz
Made --map affect chown/chgrp results.
Diffstat (limited to 'tests/common.rb')
-rwxr-xr-xtests/common.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/common.rb b/tests/common.rb
index d030972..ac1ef43 100755
--- a/tests/common.rb
+++ b/tests/common.rb
@@ -142,9 +142,9 @@ def testenv(bindfs_args, options = {}, &block)
end
# Like testenv but skips the test if not running as root
-def root_testenv(bindfs_args, &block)
+def root_testenv(bindfs_args, options = {}, &block)
if Process.uid == 0
- testenv(bindfs_args, &block)
+ testenv(bindfs_args, options, &block)
else
puts "--- #{bindfs_args} ---"
puts "[ #{bindfs_args} ]"