From 7ea6ea98c87b77e12c1c13699ddf3baf2bc0589a Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Tue, 24 Apr 2007 18:21:08 +0000 Subject: [PATCH] Use a single makepath call with multiple args. --- testsuite/chmod-option.test | 3 +-- testsuite/delete.test | 4 +--- 2 files changed, 2 insertions(+), 5 deletions(-) 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 -- 2.34.1