diff options
author | Wayne Davison <wayned@samba.org> | 2004-09-20 05:17:57 +0000 |
---|---|---|
committer | Wayne Davison <wayned@samba.org> | 2004-09-20 05:17:57 +0000 |
commit | 4e8a085ac98c4c89991e5da1daad24598bfcd0a9 (patch) | |
tree | d03084c2980e721552957315c053b9cd5e4d91e0 /testsuite/backup.test | |
parent | fb22c2774d813e5603747937d5eb3c719de20be7 (diff) | |
download | android_external_rsync-4e8a085ac98c4c89991e5da1daad24598bfcd0a9.tar.gz android_external_rsync-4e8a085ac98c4c89991e5da1daad24598bfcd0a9.tar.bz2 android_external_rsync-4e8a085ac98c4c89991e5da1daad24598bfcd0a9.zip |
Use $diffopt instead of -u.
Diffstat (limited to 'testsuite/backup.test')
-rw-r--r-- | testsuite/backup.test | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuite/backup.test b/testsuite/backup.test index 59283620..9e4b0239 100644 --- a/testsuite/backup.test +++ b/testsuite/backup.test @@ -26,14 +26,14 @@ echo "Extending the other file" >> "$name2" checkit "$RSYNC -avv --backup --backup-dir=\"$bakdir\" \"$fromdir/\" \"$todir/\"" "$fromdir" "$todir" -diff -ru "$chkdir" "$bakdir" +diff -r $diffopt "$chkdir" "$bakdir" echo "Extending the file again" >> "$name1" echo "Extending the other file again" >> "$name2" checkit "$RSYNC -avv --inplace --backup --backup-dir=\"$bakdir\" \"$fromdir/\" \"$todir/\"" "$fromdir" "$todir" -diff -ru "$chkdir" "$bakdir" +diff -r $diffopt "$chkdir" "$bakdir" # The script would have aborted on error, so getting here means we've won. exit 0 |