Use a single makepath call with multiple args.
[rsync/rsync.git] / testsuite / chmod-option.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"