mirror of
git://git.sv.gnu.org/coreutils.git
synced 2026-02-14 19:32:10 +02:00
*** empty log message ***
This commit is contained in:
@@ -54,6 +54,15 @@ chgrp $g2 f2 || fail=1
|
||||
chgrp -R -c $g2 d
|
||||
chgrp -R -c $g1 d
|
||||
chgrp -c $g2 d
|
||||
|
||||
rm -f f
|
||||
touch f
|
||||
ln -s f symlink
|
||||
chgrp -c $g1 f
|
||||
# This should not change the group of f.
|
||||
chgrp -c $g2 symlink 2> /dev/null
|
||||
chgrp -c $g2 f
|
||||
|
||||
) 2>&1 | sed "s/ $g1$/ G1/;s/ $g2$/ G2/" > actual
|
||||
|
||||
cat <<\EOF > expected
|
||||
@@ -71,6 +80,7 @@ group of `d/f3' changed to G2
|
||||
group of `d' changed to G1
|
||||
group of `d/f3' changed to G1
|
||||
group of `d' changed to G2
|
||||
group of `f' changed to G2
|
||||
EOF
|
||||
|
||||
cmp expected actual \
|
||||
|
||||
Reference in New Issue
Block a user