summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2007-04-24 18:21:08 +0000
committerWayne Davison <wayned@samba.org>2007-04-24 18:21:08 +0000
commit7ea6ea98c87b77e12c1c13699ddf3baf2bc0589a (patch)
tree01edd3a79adf5ad4040b2a59567bdb69bd473f30
parentd1798a2fda20876febfecdc035510a0dd9875761 (diff)
downloadrsync-7ea6ea98c87b77e12c1c13699ddf3baf2bc0589a.tar.gz
Use a single makepath call with multiple args.
-rw-r--r--testsuite/chmod-option.test3
-rw-r--r--testsuite/delete.test4
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