summaryrefslogtreecommitdiff
path: root/tests/chgrp/posix-H
diff options
context:
space:
mode:
Diffstat (limited to 'tests/chgrp/posix-H')
-rwxr-xr-xtests/chgrp/posix-H4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/chgrp/posix-H b/tests/chgrp/posix-H
index 92a2cd0c0..e9736968d 100755
--- a/tests/chgrp/posix-H
+++ b/tests/chgrp/posix-H
@@ -48,7 +48,7 @@ for i in $changed; do
# Filter out symlinks (entries that end in `s'), since it's not
# possible to change their group/owner information on some systems.
case $i in *s) continue;; esac
- set _ `ls -dg $i`; shift
+ set _ `ls -dgn $i`; shift
group=$3
test $group = $g2 || fail=1
done
@@ -64,7 +64,7 @@ for i in $not_changed; do
# Filter out symlinks (entries that end in `s'), since it's not
# possible to change their group/owner information on some systems.
case $i in *s) continue;; esac
- set _ `ls -dg $i`; shift
+ set _ `ls -dgn $i`; shift
group=$3
test $group = $g1 || fail=1
done