Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Let's try only including malloc.h if stdlib.h isn't around (and it
[rsync/rsync.git]
/
testsuite
/
chgrp.test
diff --git
a/testsuite/chgrp.test
b/testsuite/chgrp.test
index
179d789
..
cabe4ef
100644
(file)
--- a/
testsuite/chgrp.test
+++ b/
testsuite/chgrp.test
@@
-18,7
+18,9
@@
set -x
fromdir="$scratchdir/from"
todir="$scratchdir/to"
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="`rsync_getgroups`" || fail "Can't get groups"
mkdir "$fromdir"
for g in $mygrps
mkdir "$fromdir"
for g in $mygrps
@@
-27,8
+29,9
@@
do
date > "$name"
chgrp "$g" "$name" || fail "Can't chgrp"
done
date > "$name"
chgrp "$g" "$name" || fail "Can't chgrp"
done
+sleep 2
-checkit "
rsync -r
gvvv \"$fromdir/\" \"$todir/\"" "$fromdir" "$todir"
+checkit "
$RSYNC -rt
gvvv \"$fromdir/\" \"$todir/\"" "$fromdir" "$todir"
exit 0
# last [] may have failed but if we get here then we've won
exit 0
# last [] may have failed but if we get here then we've won