From: Jim Meyering Date: Fri, 15 Dec 2000 08:42:35 +0000 (+0000) Subject: changed messages to match those chgrp now produces X-Git-Tag: FILEUTILS-4_0_34~66 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=b6ca14a123d26e810d4a329076841e467bb6e756;p=thirdparty%2Fcoreutils.git changed messages to match those chgrp now produces --- diff --git a/tests/chgrp/basic b/tests/chgrp/basic index 9e7e386929..b6b5d03dc8 100755 --- a/tests/chgrp/basic +++ b/tests/chgrp/basic @@ -62,6 +62,7 @@ chgrp $g2 f2 || fail=1 touch f ln -s f symlink chgrp -c $g1 f + chgrp $g2 symlink 2> /dev/null # This should not change the group of f. chgrp -c $g2 symlink 2> /dev/null chgrp -c $g2 f @@ -74,22 +75,22 @@ chgrp $g2 f2 || fail=1 ) 2>&1 | sed "s/ $g1$/ G1/;s/ $g2$/ G2/" > actual cat <<\EOF > expected -group of `f' changed to G1 -group of `f' changed to G2 -group of `f' changed to G1 +changed group of `f' to G1 +changed group of `f' to G2 +changed group of `f' to G1 group of `f' retained as G1 -group of `f' changed to G2 -group of `d' changed to G2 -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 `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 -group of `symlink' changed to G1 +changed group of `f' to G2 +changed group of `d' to G2 +changed group of `d/f3' to G2 +changed group of `d' to G1 +changed group of `d/f3' to G1 +changed group of `d' to G2 +changed group of `d/f3' to G2 +changed group of `d' to G1 +changed group of `d/f3' to G1 +changed group of `d' to G2 +changed group of `f' to G2 +changed group of `symlink' to G1 EOF cmp expected actual \