diff options
Diffstat (limited to 'tests/chgrp/default-no-deref')
-rwxr-xr-x | tests/chgrp/default-no-deref | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/chgrp/default-no-deref b/tests/chgrp/default-no-deref index 5dbbcf529..d2b67536b 100755 --- a/tests/chgrp/default-no-deref +++ b/tests/chgrp/default-no-deref @@ -25,7 +25,6 @@ fi . $srcdir/../group-names set _ $groups; shift -g1=$1 g2=$2 pwd=`pwd` @@ -45,7 +44,8 @@ fi fail=0 +g_init=`stat --printf=%g f` chgrp -R $g2 d || fail=1 -test `stat --printf=%g f` = $g1 || fail=1 +test `stat --printf=%g f` = $g_init || fail=1 (exit $fail); exit $fail |