[SCM] The rsync repository. - branch b3.0.x updated

Rsync CVS commit messages rsync-cvs at lists.samba.org
Tue Feb 22 08:45:41 MST 2011


The branch, b3.0.x has been updated
       via  07b5c77 Fix test 5's failure message.
      from  8b7f20b Mention latest changes.

;a=shortlog;h=b3.0.x


- Log -----------------------------------------------------------------
commit 07b5c770db603d1b173fc2835931fd9b1b069556
Author: Wayne Davison <wayned at samba.org>
Date:   Tue Feb 22 07:41:02 2011 -0800

    Fix test 5's failure message.

-----------------------------------------------------------------------

Summary of changes:
 testsuite/devices.test |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)


Changeset truncated at 500 lines:

diff --git a/testsuite/devices.test b/testsuite/devices.test
index 1e7b776..a6474dc 100644
--- a/testsuite/devices.test
+++ b/testsuite/devices.test
@@ -116,8 +116,8 @@ cD$all_plus char2
 cD$all_plus char3
 cS$all_plus fifo
 EOT
-if test ! -r "$fromdir/block2.5"; then
-    sed -e '/block2\.5/d' <"$chkfile" >"$chkfile.new"
+if test ! -b "$fromdir/block2.5"; then
+    grep -v block2.5 <"$chkfile" >"$chkfile.new"
     mv "$chkfile.new" "$chkfile"
 fi
 diff $diffopt "$chkfile" "$outfile" || test_fail "test 4 failed"
@@ -143,7 +143,7 @@ hD$allspace char2
 hD$allspace char3
 hS$allspace fifo
 EOT
-    diff $diffopt "$chkfile" "$outfile" || test_fail "test 4 failed"
+    diff $diffopt "$chkfile" "$outfile" || test_fail "test 5 failed"
 fi
 
 # The script would have aborted on error, so getting here means we've won.


-- 
The rsync repository.


More information about the rsync-cvs mailing list