path: root/t/
diff options
authorMichael Spang <>2007-02-13 00:33:37 (GMT)
committerJunio C Hamano <>2007-02-13 06:17:04 (GMT)
commit7b3fab877d468a51bab6050385ab701697301c62 (patch)
tree888945075844874a43d42197d04c5950d0c94b96 /t/
parentccf5aa8dd3bc64837a4ca391d0b8bd0e3e481b7e (diff)
Work around Subversion race in git-svn tests.
Some of the git-svn tests can fail on fast machines due to a race in Subversion: if a file is modified in the same second it was checked out (or in for that matter), Subversion will not consider it modified. This works around the problem by increasing the timestamp by one second before each commit. [jc: with "touch -r -d" replacement from Eric] Acked-by: Eric Wong <> Signed-off-by: Michael Spang <> Signed-off-by: Junio C Hamano <>
Diffstat (limited to 't/')
1 files changed, 2 insertions, 0 deletions
diff --git a/t/ b/t/
index 8d2e2fe..405b555 100755
--- a/t/
+++ b/t/
@@ -16,11 +16,13 @@ test_expect_success 'initialize repo' "
svn co $svnrepo wc &&
cd wc &&
echo world >> trunk/readme &&
+ poke trunk/readme &&
svn commit -m 'another commit' &&
svn up &&
svn mv -m 'rename to thunk' trunk thunk &&
svn up &&
echo goodbye >> thunk/readme &&
+ poke thunk/readme &&
svn commit -m 'bye now' &&
cd ..