X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/83a8ca7b14483826c85f7cc0e0e38ed9ce387d83..f5aeb6ff9b04432a84b5c79f5baac26be1f3f4e9:/testsuite/missing.test diff --git a/testsuite/missing.test b/testsuite/missing.test index 705050b4..82eaeb3c 100644 --- a/testsuite/missing.test +++ b/testsuite/missing.test @@ -7,8 +7,7 @@ . $srcdir/testsuite/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'