From 2e42adb302df8607cecae334170ad379286a40a6 Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Sat, 16 Apr 2005 07:34:49 +0000 Subject: [PATCH] Simplified the newly added test so that it should stop sporadically failing. --- testsuite/hardlinks.test | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/testsuite/hardlinks.test b/testsuite/hardlinks.test index e44fd458..d5e4db93 100644 --- a/testsuite/hardlinks.test +++ b/testsuite/hardlinks.test @@ -35,11 +35,9 @@ checkit "$RSYNC -aHivv \"$fromdir/\" \"$todir/\"" "$fromdir" "$todir" rm -rf "$todir" # Make sure there's nothing wrong with sending a single file with -H -# enabled (this has had a problem twice now, so we need this). -mkdir "$chkdir" -cp -p "$name1" "$chkdir" -$RSYNC -avvi -f '-! */' "$fromdir/" "$chkdir/" -checkit "$RSYNC -aHivv \"$name1\" \"$todir/\"" "$chkdir" "$todir" +# enabled (this has broken twice so far, so we need this test). +$RSYNC -aHivv "$name1" "$todir/" +diff $diffopt "$name1" "$todir" || test_fail "solo copy of name1 failed" # The script would have aborted on error, so getting here means we've won. exit 0 -- 2.34.1