summaryrefslogtreecommitdiff
path: root/tests/chgrp/basic
diff options
context:
space:
mode:
Diffstat (limited to 'tests/chgrp/basic')
-rwxr-xr-xtests/chgrp/basic4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/chgrp/basic b/tests/chgrp/basic
index ee2f2b535..aaa0f9478 100755
--- a/tests/chgrp/basic
+++ b/tests/chgrp/basic
@@ -56,10 +56,10 @@ test "$VERBOSE" = yes && set +x
touch f
ln -s f symlink
chgrp $g1 f
- chgrp $g2 symlink 2> /dev/null
+ chgrp -h $g2 symlink 2> /dev/null
# This should not change the group of f.
- chgrp -c $g2 symlink 2> /dev/null
+ chgrp -h -c $g2 symlink 2> /dev/null
chgrp -c $g2 f
# This *should* change the group of f.