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
Added the ability to prefix "no-" to various options, which gives the
[rsync/rsync.git]
/
testsuite
/
chgrp.test
diff --git
a/testsuite/chgrp.test
b/testsuite/chgrp.test
index
c75da52
..
82474b9
100644
(file)
--- a/
testsuite/chgrp.test
+++ b/
testsuite/chgrp.test
@@
-9,15
+9,12
@@
# 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
+.
"$suitedir/rsync.fns"
set -x
# Build some hardlinks
set -x
# Build some hardlinks
-fromdir="$scratchdir/from"
-todir="$scratchdir/to"
-
mygrps="`rsync_getgroups`" || fail "Can't get groups"
mkdir "$fromdir"
mygrps="`rsync_getgroups`" || fail "Can't get groups"
mkdir "$fromdir"
@@
-28,9
+25,8
@@
do
chgrp "$g" "$name" || fail "Can't chgrp"
done
sleep 2
chgrp "$g" "$name" || fail "Can't chgrp"
done
sleep 2
-ls -lRa "$scratchdir"
-id || true
-checkit "$RSYNC -rtgvvv \"$fromdir/\" \"$todir/\"" "$fromdir" "$todir"
+checkit "$RSYNC -rtg
p
vvv \"$fromdir/\" \"$todir/\"" "$fromdir" "$todir"
+# The script would have aborted on error, so getting here means we've won.
exit 0
exit 0