Use a single makepath call with multiple args.
authorWayne Davison <wayned@samba.org>
Tue, 24 Apr 2007 18:21:08 +0000 (18:21 +0000)
committerWayne Davison <wayned@samba.org>
Tue, 24 Apr 2007 18:21:08 +0000 (18:21 +0000)
testsuite/chmod-option.test
testsuite/delete.test

index 20b3a51..3e5fd28 100644 (file)
@@ -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"
index bab92a1..208ff45 100644 (file)
@@ -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