Use chown --from to discover whether the
authorJim Meyering <jim@meyering.net>
Tue, 8 Jun 2004 15:25:45 +0000 (15:25 +0000)
committerJim Meyering <jim@meyering.net>
Tue, 8 Jun 2004 15:25:45 +0000 (15:25 +0000)
commit8dbd36d92511faf7630310f5437586e231cb4fc5
tree30e8fb4d62a1fd34864fa9915bee4fb51d17f989
parentb50934d2a9ac2ccf4f8a8d4831d1a6c6bd96c319
Use chown --from to discover whether the
group changed, since chgrp now changes unconditionally.  This
complicates the sed script a bit.  Do not specify --dereference,
since it's the default (and we want to test this).  Adjust output
to match the fact that chgrp no longer optimizes the case of
changing a file's group to the same value as before.
tests/chgrp/basic