diff options
author | Jim Meyering <jim@meyering.net> | 2000-12-15 08:42:35 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2000-12-15 08:42:35 +0000 |
commit | b6ca14a123d26e810d4a329076841e467bb6e756 (patch) | |
tree | 8fa050a759f123b4606ebebfe0646b5a16de319f /tests | |
parent | 976f3796be30b42b12f9a0e05971a583170433cd (diff) | |
download | coreutils-b6ca14a123d26e810d4a329076841e467bb6e756.tar.xz |
changed messages to match those chgrp now produces
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/chgrp/basic | 31 |
1 files changed, 16 insertions, 15 deletions
diff --git a/tests/chgrp/basic b/tests/chgrp/basic index 9e7e38692..b6b5d03dc 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 \ |