--- embedaddon/rsync/testsuite/missing.test 2012/02/17 15:09:30 1.1.1.1 +++ embedaddon/rsync/testsuite/missing.test 2021/03/17 00:32:36 1.1.1.3 @@ -5,7 +5,7 @@ # Test three bugs fixed by my redoing of the missing_below logic. -. $srcdir/testsuite/rsync.fns +. $suitedir/rsync.fns makepath "$fromdir/subdir" "$todir" echo data >"$fromdir/subdir/file" @@ -17,9 +17,16 @@ if grep 'not creating new.*subdir/file' "$scratchdir/o test_fail 'test 1 failed' fi -# 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' +case "$RSYNC" in +*protocol=29*) # FIXME can we get past the new flist sanity check in protocol 29? + 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 $RSYNC -n -r --delete-after -i "$fromdir/" "$todir/" | tee "$scratchdir/out"