git svn info: tests: fix ptouch argument order in setup

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>
This commit is contained in:
Thomas Rast 2008-08-26 21:32:35 +02:00 committed by Eric Wong
parent 67214c85af
commit 8d5100c7a8

View File

@ -51,10 +51,10 @@ test_expect_success 'setup repository and import' '
git-svn fetch && git-svn fetch &&
cd .. && cd .. &&
svn co "$svnrepo" svnwc && svn co "$svnrepo" svnwc &&
ptouch svnwc/file gitwc/file && ptouch gitwc/file svnwc/file &&
ptouch svnwc/directory gitwc/directory && ptouch gitwc/directory svnwc/directory &&
ptouch svnwc/symlink-file gitwc/symlink-file && ptouch gitwc/symlink-file svnwc/symlink-file &&
ptouch svnwc/symlink-directory gitwc/symlink-directory ptouch gitwc/symlink-directory svnwc/symlink-directory
' '
test_expect_success 'info' " test_expect_success 'info' "