diff options
Diffstat (limited to 'tests/chown.test')
-rwxr-xr-x | tests/chown.test | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/chown.test b/tests/chown.test index 408d5f34..95ad727a 100755 --- a/tests/chown.test +++ b/tests/chown.test @@ -29,13 +29,13 @@ OUT="&& echo \$(ls -l testdir/file | awk '{print \$3,\$4}')" #testing "name" "command" "result" "infile" "stdin" # Basic smoketest -testing "chown initial" "chown root:root $F $OUT" "root root\n" "" "" -testing "chown usr:grp" "chown $USR:$GRP $F $OUT" "$USR $GRP\n" "" "" -testing "chown root" "chown root $F $OUT" "root $GRP\n" "" "" +testing "initial" "chown root:root $F $OUT" "root root\n" "" "" +testing "usr:grp" "chown $USR:$GRP $F $OUT" "$USR $GRP\n" "" "" +testing "root" "chown root $F $OUT" "root $GRP\n" "" "" # TODO: can we test "owner:"? -testing "chown :grp" "chown root:root $F && chown :$GRP $F $OUT" \ +testing ":grp" "chown root:root $F && chown :$GRP $F $OUT" \ "root $GRP\n" "" "" -testing "chown :" "chown $USR:$GRP $F && chown : $F $OUT" \ +testing ":" "chown $USR:$GRP $F && chown : $F $OUT" \ "$USR $GRP\n" "" "" rm -rf testdir |