git svn info: tests: fix ptouch argument order in setup
authorThomas Rast <trast@student.ethz.ch>
Tue, 26 Aug 2008 19:32:35 +0000 (21:32 +0200)
committerEric Wong <normalperson@yhbt.net>
Fri, 5 Sep 2008 23:58:39 +0000 (16:58 -0700)
The arguments must be <gitwc-path> <svnwc-path>, otherwise it fails to
update the timestamps (without setting a failure exit code) and
results in bad test output later on.

Signed-off-by: Thomas Rast <trast@student.ethz.ch>
Acked-by: Eric Wong <normalperson@yhbt.net>
t/t9119-git-svn-info.sh

index 7798dcce046654ace271694e782df3b898a37986..821507d416b5e4d386248fb21b907bf5cd9895a4 100755 (executable)
@@ -51,10 +51,10 @@ test_expect_success 'setup repository and import' '
                git-svn fetch &&
        cd .. &&
        svn co "$svnrepo" svnwc &&
-       ptouch svnwc/file gitwc/file &&
-       ptouch svnwc/directory gitwc/directory &&
-       ptouch svnwc/symlink-file gitwc/symlink-file &&
-       ptouch svnwc/symlink-directory gitwc/symlink-directory
+       ptouch gitwc/file svnwc/file &&
+       ptouch gitwc/directory svnwc/directory &&
+       ptouch gitwc/symlink-file svnwc/symlink-file &&
+       ptouch gitwc/symlink-directory svnwc/symlink-directory
        '
 
 test_expect_success 'info' "