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
Some deny-rsync fixes:
[rsync/rsync.git]
/
testsuite
/
fuzzy.test
diff --git
a/testsuite/fuzzy.test
b/testsuite/fuzzy.test
index
3cae91a
..
1abfab5
100644
(file)
--- a/
testsuite/fuzzy.test
+++ b/
testsuite/fuzzy.test
@@
-2,24
+2,23
@@
# Copyright (C) 2005 by Wayne Davison <wayned@samba.org>
# Copyright (C) 2005 by Wayne Davison <wayned@samba.org>
-# This program is distributable under the terms of the GNU GPL see
+# This program is distributable under the terms of the GNU GPL
(
see
# COPYING).
# Test rsync handling of the --fuzzy option.
. "$suitedir/rsync.fns"
# COPYING).
# Test rsync handling of the --fuzzy option.
. "$suitedir/rsync.fns"
-set -x
-
mkdir "$fromdir"
mkdir "$todir"
cp -p "$srcdir"/rsync.c "$fromdir"/rsync.c
mkdir "$fromdir"
mkdir "$todir"
cp -p "$srcdir"/rsync.c "$fromdir"/rsync.c
-cp -p "$fromdir"/rsync.c "$todir"/rsync2.c
+cp_touch "$fromdir"/rsync.c "$todir"/rsync2.c
+sleep 1
# Let's do it!
# Let's do it!
-checkit "$RSYNC -avvi --no-whole-file --fuzzy --delete-
after
\
-
\"$fromdir/\" \"$todir/\"
" "$fromdir" "$todir"
+checkit "$RSYNC -avvi --no-whole-file --fuzzy --delete-
delay
\
+
'$fromdir/' '$todir/'
" "$fromdir" "$todir"
# The script would have aborted on error, so getting here means we've won.
exit 0
# The script would have aborted on error, so getting here means we've won.
exit 0