From ea47fe7c1c124513c0ccd08918bbdfb9b599aaeb Mon Sep 17 00:00:00 2001 From: Martin Pärtel Date: Thu, 10 Mar 2016 05:15:47 +0000 Subject: Fix argument order of `usermod` in test for some distros. --- tests/test_bindfs.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') 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 -- cgit v1.2.3