diff options
author | Martin Pool <mbp@samba.org> | 2002-03-25 03:01:37 +0000 |
---|---|---|
committer | Martin Pool <mbp@samba.org> | 2002-03-25 03:01:37 +0000 |
commit | dfef3f1099468a3b57f69840002184c527259558 (patch) | |
tree | 9ae885f3d382b7500e689caa345fb6f8d61d7740 /testsuite | |
parent | fa3690f48870fada1b9495dbbb16acbc1f511c52 (diff) | |
download | rsync-dfef3f1099468a3b57f69840002184c527259558.tar.gz rsync-dfef3f1099468a3b57f69840002184c527259558.tar.bz2 rsync-dfef3f1099468a3b57f69840002184c527259558.zip |
Change chgrp.test to use our getgroups rather than the system's.
Diffstat (limited to 'testsuite')
-rw-r--r-- | testsuite/chgrp.test | 2 | ||||
-rw-r--r-- | testsuite/rsync.fns | 6 |
2 files changed, 6 insertions, 2 deletions
diff --git a/testsuite/chgrp.test b/testsuite/chgrp.test index 8cc89e04..33aef146 100644 --- a/testsuite/chgrp.test +++ b/testsuite/chgrp.test @@ -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 diff --git a/testsuite/rsync.fns b/testsuite/rsync.fns index e7e2e2d7..e7f753a9 100644 --- a/testsuite/rsync.fns +++ b/testsuite/rsync.fns @@ -45,7 +45,11 @@ printmsg() { rsync_ls_lR() { - find "$@" -print | sort | xargs $TLS + find "$@" -print | sort | xargs "$TOOLDIR/tls" +} + +rsync_getgroups() { + "$TOOLDIR/getgroups" } |