X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/83a8ca7b14483826c85f7cc0e0e38ed9ce387d83..0f6b683c8ebf2a26988909c46a31543a5fb17302:/testsuite/missing.test diff --git a/testsuite/missing.test b/testsuite/missing.test index 705050b4..008c0f4f 100644 --- a/testsuite/missing.test +++ b/testsuite/missing.test @@ -5,10 +5,9 @@ # Test three bugs fixed by my redoing of the missing_below logic. -. $srcdir/testsuite/rsync.fns +. $suitedir/rsync.fns -mkdir "$fromdir" "$todir" -mkdir "$fromdir/subdir" +makepath "$fromdir/subdir" "$todir" echo data >"$fromdir/subdir/file" echo data >"$todir/other" @@ -24,5 +23,5 @@ $RSYNC -n -r -R --no-implied-dirs -y "$fromdir/./subdir/file" "$todir/" \ # Test 3: --delete-after pass skipped when last dir is dry-missing $RSYNC -n -r --delete-after -i "$fromdir/" "$todir/" | tee "$scratchdir/out" -grep '^\*deleting other' "$scratchdir/out" >/dev/null \ +grep '^\*deleting * other' "$scratchdir/out" >/dev/null \ || test_fail 'test 3 failed'