diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2005-01-17 22:40:57 +0000 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2005-01-17 22:40:57 +0000 |
commit | b10a836fa0f27b5f2ef1491c3226681a97ea4072 (patch) | |
tree | 9d6caa09b59c653ec9510bc1c654af131217ada2 /tests/chgrp/basic | |
parent | c9946379010854e27a43f63506622dc89a1fb613 (diff) | |
download | coreutils-b10a836fa0f27b5f2ef1491c3226681a97ea4072.tar.xz |
Use numeric group ids, not symbolic group names, to avoid shell quoting issues.
Diffstat (limited to 'tests/chgrp/basic')
-rwxr-xr-x | tests/chgrp/basic | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/tests/chgrp/basic b/tests/chgrp/basic index de3d1aef0..de43573ba 100755 --- a/tests/chgrp/basic +++ b/tests/chgrp/basic @@ -84,7 +84,11 @@ test "$VERBOSE" = yes && set +x chgrp '' f ls -c -t f g -) 2>&1 | sed "s/\([ :]\)$g1$/\1G1/;s/\([ :]\)$g2$/\1G2/" > actual +) 2>&1 | sed " + s/' to .*[^0-9:].*/' to SOMENAME/ + s/\([ :]\)$g1$/\1G1/ + s/\([ :]\)$g2$/\1G2/ +" > actual cat <<\EOF > expected changed group of `f' to G1 @@ -92,7 +96,7 @@ changed group of `f' to G2 ownership of `f' retained changed group of `f' to G1 group of `f' retained as G1 -changed group of `f' to G2 +changed group of `f' to SOMENAME changed group of `d/f3' to G2 changed group of `d' to G2 changed group of `d/f3' to G1 |