From: Wayne Davison Date: Tue, 24 Apr 2007 18:21:08 +0000 (+0000) Subject: Use a single makepath call with multiple args. X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/commitdiff_plain/7ea6ea98c87b77e12c1c13699ddf3baf2bc0589a Use a single makepath call with multiple args. --- diff --git a/testsuite/chmod-option.test b/testsuite/chmod-option.test index 20b3a51b..3e5fd285 100644 --- a/testsuite/chmod-option.test +++ b/testsuite/chmod-option.test @@ -39,8 +39,7 @@ chmod +w "$checkdir" "$checkdir"/dir* checkit "$RSYNC -avv --chmod ug-s,a+rX,D+w \"$fromdir/\" \"$todir/\"" "$checkdir" "$todir" rm -r "$fromdir" "$checkdir" "$todir" -makepath "$todir" -makepath "$fromdir/foo" +makepath "$todir" "$fromdir/foo" touch "$fromdir/bar" checkit "$RSYNC -avv \"$fromdir/\" \"$checkdir/\"" "$fromdir" "$checkdir" diff --git a/testsuite/delete.test b/testsuite/delete.test index bab92a12..208ff456 100644 --- a/testsuite/delete.test +++ b/testsuite/delete.test @@ -11,9 +11,7 @@ hands_setup -makepath "$chkdir" -makepath "$todir/extradir" -makepath "$todir/emptydir/subdir" +makepath "$chkdir" "$todir/extradir" "$todir/emptydir/subdir" echo extra >"$todir"/remove1 echo extra >"$todir"/remove2