From: Wayne Davison Date: Thu, 20 Jan 2022 18:51:13 +0000 (-0800) Subject: Add a couple more `--rsync-path` opts to the test. [buildall] X-Git-Tag: v3.2.4pre4~16 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=48e700555424d535da30f6118b3c753502f66a87;p=thirdparty%2Frsync.git Add a couple more `--rsync-path` opts to the test. [buildall] --- diff --git a/testsuite/00-hello.test b/testsuite/00-hello.test index 97feca95..ebd06836 100644 --- a/testsuite/00-hello.test +++ b/testsuite/00-hello.test @@ -47,7 +47,7 @@ copy_weird '-ais' '' 'lh:' echo test6 touch "$fromdir/one" "$fromdir/two" -(cd "$fromdir" && $RSYNC -ai --old-args lh:'one two' "$todir/") +(cd "$fromdir" && $RSYNC -ai --old-args --rsync-path="$RSYNC" lh:'one two' "$todir/") if [ ! -f "$todir/one" ] || [ ! -f "$todir/two" ]; then test_fail "old-args copy of 'one two' failed" fi @@ -55,7 +55,7 @@ fi echo test7 rm "$todir/one" "$todir/two" -(cd "$fromdir" && RSYNC_OLD_ARGS=1 $RSYNC -ai lh:'one two' "$todir/") +(cd "$fromdir" && RSYNC_OLD_ARGS=1 $RSYNC -ai --rsync-path="$RSYNC" lh:'one two' "$todir/") # The script would have aborted on error, so getting here means we've won. exit 0