summaryrefslogtreecommitdiff
path: root/testsuite/trimslash.test
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2003-07-05 22:57:08 +0000
committerWayne Davison <wayned@samba.org>2003-07-05 22:57:08 +0000
commit84229c7ac9cce2af0be47636773f881eed88f6bc (patch)
treeccbae143b95e8d3988702b5dfb0caa4176a03760 /testsuite/trimslash.test
parentc9a59880f0ddf58c700834fea80c08c39c27ccb3 (diff)
downloadrsync-84229c7ac9cce2af0be47636773f881eed88f6bc.tar.gz
We now figure out if diff accepts -u and we'll use it instead of -c,
if possible.
Diffstat (limited to 'testsuite/trimslash.test')
-rw-r--r--testsuite/trimslash.test4
1 files changed, 1 insertions, 3 deletions
diff --git a/testsuite/trimslash.test b/testsuite/trimslash.test
index cf118407..a22906a3 100644
--- 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"
-diff -c "$scratchdir/slash.out" - <<EOF
+diff $diffopt "$scratchdir/slash.out" - <<EOF
/usr/local/bin
/usr/local/bin
/usr/local/bin
@@ -25,5 +25,3 @@ diff -c "$scratchdir/slash.out" - <<EOF
EOF
exit 0
-# last [] may have failed but if we get here then we've won
-