X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/90d0a8db38fd6e5cbf5ea0a97e5b4b9a46300db6..69b06c50c4a2a94adbf0ca1d3eaef02fab511390:/testsuite/chgrp.test diff --git a/testsuite/chgrp.test b/testsuite/chgrp.test index 3bcd0d5e..8cc89e04 100644 --- a/testsuite/chgrp.test +++ b/testsuite/chgrp.test @@ -18,7 +18,9 @@ set -x fromdir="$scratchdir/from" todir="$scratchdir/to" -mygrps="`groups`" || fail "Can't get groups" +# 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" mkdir "$fromdir" for g in $mygrps