aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_bindfs.rb
diff options
context:
space:
mode:
authorMartin Pärtel <martin.partel@gmail.com>2016-03-10 05:15:47 +0000
committerMartin Pärtel <martin.partel@gmail.com>2016-03-10 05:15:47 +0000
commitea47fe7c1c124513c0ccd08918bbdfb9b599aaeb (patch)
tree749d69157171f6767f64ee8343de2f0672ad3cc1 /tests/test_bindfs.rb
parent102fec616cdff0e0e0b6210224550079f8ede2b7 (diff)
downloadbindfs-ea47fe7c1c124513c0ccd08918bbdfb9b599aaeb.tar.gz
Fix argument order of `usermod` in test for some distros.
Diffstat (limited to 'tests/test_bindfs.rb')
-rwxr-xr-xtests/test_bindfs.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_bindfs.rb b/tests/test_bindfs.rb
index 3e31538..1711559 100755
--- a/tests/test_bindfs.rb
+++ b/tests/test_bindfs.rb
@@ -583,7 +583,7 @@ if Process.uid == 0
chown('nobody', nil, 'src/file')
assert { File.stat('mnt/file').uid == $nobody_uid }
- `usermod root -G bindfs_test_group -a`
+ `usermod -G bindfs_test_group -a root`
raise "Failed to add root to test group" if !$?.success?
# Cache not refreshed yet