diff options
author | Martin Pärtel <martin.partel@gmail.com> | 2016-03-10 05:15:47 +0000 |
---|---|---|
committer | Martin Pärtel <martin.partel@gmail.com> | 2016-03-10 05:15:47 +0000 |
commit | ea47fe7c1c124513c0ccd08918bbdfb9b599aaeb (patch) | |
tree | 749d69157171f6767f64ee8343de2f0672ad3cc1 | |
parent | 102fec616cdff0e0e0b6210224550079f8ede2b7 (diff) | |
download | bindfs-ea47fe7c1c124513c0ccd08918bbdfb9b599aaeb.tar.gz |
Fix argument order of `usermod` in test for some distros.
-rwxr-xr-x | tests/test_bindfs.rb | 2 |
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 |