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
Switch to using an input file so that backslashes are specified
[rsync/rsync.git]
/
testsuite
/
trimslash.test
diff --git
a/testsuite/trimslash.test
b/testsuite/trimslash.test
index
cf11840
..
a22906a
100644
(file)
--- a/
testsuite/trimslash.test
+++ b/
testsuite/trimslash.test
@@
-15,7
+15,7
@@
set -x
"//a//" "////" \
"/Users/Wierd Macintosh Name/// Ooh, translucent plastic/" \
> "$scratchdir/slash.out"
"//a//" "////" \
"/Users/Wierd Macintosh Name/// Ooh, translucent plastic/" \
> "$scratchdir/slash.out"
-diff
-c
"$scratchdir/slash.out" - <<EOF
+diff
$diffopt
"$scratchdir/slash.out" - <<EOF
/usr/local/bin
/usr/local/bin
/usr/local/bin
/usr/local/bin
/usr/local/bin
/usr/local/bin
@@
-25,5
+25,3
@@
diff -c "$scratchdir/slash.out" - <<EOF
EOF
exit 0
EOF
exit 0
-# last [] may have failed but if we get here then we've won
-