Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
28c54e8
)
Improved checkit() and rsync_ls_lR() to work with filenames that
author
Wayne Davison
<wayned@samba.org>
Sat, 12 Feb 2005 20:25:12 +0000
(20:25 +0000)
committer
Wayne Davison
<wayned@samba.org>
Sat, 12 Feb 2005 20:25:12 +0000
(20:25 +0000)
might have spaces.
testsuite/rsync.fns
patch
|
blob
|
blame
|
history
diff --git
a/testsuite/rsync.fns
b/testsuite/rsync.fns
index
b4bbd37
..
f5c7f45
100644
(file)
--- a/
testsuite/rsync.fns
+++ b/
testsuite/rsync.fns
@@
-50,7
+50,7
@@
printmsg() {
rsync_ls_lR() {
rsync_ls_lR() {
- find "$@" -print | sort | xargs "$TOOLDIR/tls"
+ find "$@" -print | sort |
sed 's/ /\\ /g' |
xargs "$TOOLDIR/tls"
}
rsync_getgroups() {
}
rsync_getgroups() {
@@
-168,10
+168,7
@@
checkit() {
echo "-------------"
echo "check how the files compare with diff:"
echo ""
echo "-------------"
echo "check how the files compare with diff:"
echo ""
- for f in `cd "$2"; find . -type f -print `
- do
- diff $diffopt "$2"/"$f" "$3"/"$f" || failed=YES
- done
+ diff -r $diffopt "$2" "$3" || failed=YES
echo "-------------"
echo "check how the directory listings compare with diff:"
echo "-------------"
echo "check how the directory listings compare with diff:"