diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2004-08-19 20:03:48 +0000 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2004-08-19 20:03:48 +0000 |
commit | a078203b6d099786d2f60df1c3849bf718102595 (patch) | |
tree | 95938e79adfb52aaf1fced47c324d611860ae783 | |
parent | 958ae74efa5f954acad07330b006b732b69808f3 (diff) | |
download | coreutils-a078203b6d099786d2f60df1c3849bf718102595.tar.xz |
Test "chgrp '' file".
-rwxr-xr-x | tests/chgrp/basic | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/chgrp/basic b/tests/chgrp/basic index b0967aae1..de3d1aef0 100755 --- a/tests/chgrp/basic +++ b/tests/chgrp/basic @@ -43,6 +43,7 @@ test "$VERBOSE" = yes && set +x chgrp -c $g1 f chgrp -c $g2 f chgrp -c $g2 f + chgrp --verbose '' f chgrp --verbose $g1 f chgrp --verbose $g1 f chgrp --verbose --reference=f2 f @@ -80,6 +81,7 @@ test "$VERBOSE" = yes && set +x chgrp $g2 g sleep 1 chgrp $g1 f + chgrp '' f ls -c -t f g ) 2>&1 | sed "s/\([ :]\)$g1$/\1G1/;s/\([ :]\)$g2$/\1G2/" > actual @@ -87,6 +89,7 @@ test "$VERBOSE" = yes && set +x cat <<\EOF > expected changed group of `f' to G1 changed group of `f' to G2 +ownership of `f' retained changed group of `f' to G1 group of `f' retained as G1 changed group of `f' to G2 |