mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-17 18:02:09 +03:00
* tests/chgrp/default-no-deref: Don't assume that files are created
with the primary group by default. That's not true in a directory with the set-GID bit set.
This commit is contained in:
1 parent
c97742932a
commit
33de42f2a8
2 files changed
+6
-2
No files matched your search
@@ -1,5 +1,9 @@
|
||||
2006-12-14 Jim Meyering <jim@meyering.net>
|
||||
|
||||
* tests/chgrp/default-no-deref: Don't assume that files are created
|
||||
with the primary group by default. That's not true in a directory
|
||||
with the set-GID bit set.
|
||||
|
||||
Don't hang when there's no input tty.
|
||||
* tests/cp/open-perm-race: Skip this test if there is no
|
||||
controlling input `terminal'.
|
||||
|
||||
@@ -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
|
||||
Reference in new issue
Block a user