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
Use the MAX_RENAMES_DIGITS define in the relevant snprintf().
[rsync/rsync.git]
/
testsuite
/
chgrp.test
diff --git
a/testsuite/chgrp.test
b/testsuite/chgrp.test
index
8cc89e0
..
e65fc0e
100644
(file)
--- a/
testsuite/chgrp.test
+++ b/
testsuite/chgrp.test
@@
-9,18
+9,11
@@
# the test is a member of them. Hopefully they're in at least one
# test.
# the test is a member of them. Hopefully they're in at least one
# test.
-. $srcdir/testsuite/rsync.fns
-
-set -x
+. "$suitedir/rsync.fns"
# Build some hardlinks
# Build some hardlinks
-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
mkdir "$fromdir"
for g in $mygrps
@@
-31,8
+24,7
@@
do
done
sleep 2
done
sleep 2
-checkit "
rsync -rtg
vvv \"$fromdir/\" \"$todir/\"" "$fromdir" "$todir"
+checkit "
$RSYNC -rtgp
vvv \"$fromdir/\" \"$todir/\"" "$fromdir" "$todir"
+# The script would have aborted on error, so getting here means we've won.
exit 0
exit 0
-# last [] may have failed but if we get here then we've won
-