Removed an obsolete comment.
[rsync/rsync.git] / testsuite / chgrp.test
index 8cc89e0..e447748 100644 (file)
@@ -18,9 +18,7 @@ set -x
 fromdir="$scratchdir/from"
 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
@@ -31,8 +29,7 @@ do
 done
 sleep 2
 
-checkit "rsync -rtgvvv \"$fromdir/\" \"$todir/\"" "$fromdir" "$todir"
+checkit "$RSYNC -rtgvvv \"$fromdir/\" \"$todir/\"" "$fromdir" "$todir"
 
 exit 0
 # last [] may have failed but if we get here then we've won
-