Change chgrp.test to use our getgroups rather than the system's.
[rsync/rsync.git] / testsuite / chgrp.test
index 8cc89e0..33aef14 100644 (file)
@@ -20,7 +20,7 @@ todir="$scratchdir/to"
 
 # TODO: I guess some systems will not have 'id', and therefore we have
 # to ship or emulate it.
-mygrps="`id -G`" || fail "Can't get groups"
+mygrps="`rsync_getgroups`" || fail "Can't get groups"
 mkdir "$fromdir"
 
 for g in $mygrps