diff options
author | Jim Meyering <jim@meyering.net> | 2004-05-17 12:10:43 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2004-05-17 12:10:43 +0000 |
commit | 58f134b649641a442a21f60a1c5889f4581240a5 (patch) | |
tree | 9ced7e2045dd0f1159b873e0b4a623e324a79fee /tests/chgrp/deref | |
parent | a432ab952a0199b90be84858b59b8f051f1b67b7 (diff) | |
download | coreutils-58f134b649641a442a21f60a1c5889f4581240a5.tar.xz |
Use -h where necessary to retain semantics.
Diffstat (limited to 'tests/chgrp/deref')
-rwxr-xr-x | tests/chgrp/deref | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/chgrp/deref b/tests/chgrp/deref index afe7b465a..2b947ae14 100755 --- a/tests/chgrp/deref +++ b/tests/chgrp/deref @@ -29,7 +29,7 @@ g2=$2 touch f ln -s f symlink -chgrp $g2 symlink 2> /dev/null +chgrp -h $g2 symlink 2> /dev/null set _ `ls -l symlink` g=$5 test "$g" = $g2 || { @@ -45,12 +45,12 @@ fail=0 chgrp $g1 f set _ `ls -l f`; g=$5; test "$g" = $g1 || fail=1 -chgrp $g2 symlink || fail=1 +chgrp -h $g2 symlink || fail=1 set _ `ls -l f`; g=$5; test "$g" = $g1 || fail=1 set _ `ls -l symlink`; g=$5; test "$g" = $g2 || fail=1 # This should not change the group of f. -chgrp $g2 symlink || fail=1 +chgrp -h $g2 symlink || fail=1 set _ `ls -l f`; g=$5; test "$g" = $g1 || fail=1 set _ `ls -l symlink`; g=$5; test "$g" = $g2 || fail=1 |