version 1.1, 2012/02/17 15:09:30
|
version 1.1.1.3, 2021/03/17 00:32:36
|
Line 5
|
Line 5
|
|
|
# Test three bugs fixed by my redoing of the missing_below logic. |
# Test three bugs fixed by my redoing of the missing_below logic. |
|
|
. $srcdir/testsuite/rsync.fns | . $suitedir/rsync.fns |
|
|
makepath "$fromdir/subdir" "$todir" |
makepath "$fromdir/subdir" "$todir" |
echo data >"$fromdir/subdir/file" |
echo data >"$fromdir/subdir/file" |
Line 17 if grep 'not creating new.*subdir/file' "$scratchdir/o
|
Line 17 if grep 'not creating new.*subdir/file' "$scratchdir/o
|
test_fail 'test 1 failed' |
test_fail 'test 1 failed' |
fi |
fi |
|
|
# Test 2: Attempt to make a fuzzy dirlist for a dir not created on a dry run | case "$RSYNC" in |
$RSYNC -n -r -R --no-implied-dirs -y "$fromdir/./subdir/file" "$todir/" \ | *protocol=29*) # FIXME can we get past the new flist sanity check in protocol 29? |
|| test_fail 'test 2 failed' | echo "Skipped test 2 for protocol 29." |
| ;; |
| *) |
| # Test 2: Attempt to make a fuzzy dirlist for a dir not created on a dry run |
| $RSYNC -n -r -R --no-implied-dirs -y "$fromdir/./subdir/file" "$todir/" \ |
| || test_fail 'test 2 failed' |
| ;; |
| esac |
|
|
# Test 3: --delete-after pass skipped when last dir is dry-missing |
# Test 3: --delete-after pass skipped when last dir is dry-missing |
$RSYNC -n -r --delete-after -i "$fromdir/" "$todir/" | tee "$scratchdir/out" |
$RSYNC -n -r --delete-after -i "$fromdir/" "$todir/" | tee "$scratchdir/out" |