Skip to content

Commit

Permalink
git svn info: tests: fix ptouch argument order in setup
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Thomas Rast authored and Eric Wong committed Sep 5, 2008
1 parent 67214c8 commit 8d5100c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions t/t9119-git-svn-info.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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' "
Expand Down

0 comments on commit 8d5100c

Please sign in to comment.