Submitted By: Matthew Burgess <matthew at linuxfromscratch dot org>
Date: 2006-09-18
Initial Package Version: 6.2
Upstream Status: Backported from upstream
Origin: Paul Eggert
Description: Fix a typo in a chgrp test that causes it to fail if the build
directory is setgid.
diff -Naur coreutils-6.2.orig/tests/chgrp/basic coreutils-6.2/tests/chgrp/basic
old
|
new
|
|
73 | 73 | rm -f f |
74 | 74 | touch f |
75 | 75 | ln -s f symlink |
76 | | chgrp $g1 f; test `stat --printf=%g f` = $g1 || fail=1 |
| 76 | chgrp $g1 f |
| 77 | test `stat --printf=%g f` = $g1 || fail=1 |
77 | 78 | |
78 | 79 | # This should not change the group of f. |
79 | | test `stat --printf=%g f` = $g1 || fail=1 |
80 | | test `stat --printf=%g symlink` = $g1 || fail=1 |
81 | 80 | chgrp -h $g2 symlink |
82 | 81 | test `stat --printf=%g f` = $g1 || fail=1 |
83 | 82 | test `stat --printf=%g symlink` = $g2 || fail=1 |