diff options
Diffstat (limited to 'tests/common.rb')
-rwxr-xr-x | tests/common.rb | 4 |
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} ]" |