t9106: fix a race condition that caused svn to miss modifications
carbonated beverage noticed this test was occasionally failing. Signed-off-by: Eric Wong <normalperson@yhbt.net>
Eric Wong committed
Nov 21, 2007 at 00:57 UTC
8d92f24852420c425f3ee499d3c3be01be4dc15c
1 file changed
+1
t/t9106-git-svn-dcommit-clobber-series.sh
+1
@@ -22,6 +22,7 @@ test_expect_success '(supposedly) non-conflicting change from SVN' "
22
cd tmp &&
23
perl -i -p -e 's/^58\$/5588/' file &&
24
perl -i -p -e 's/^61\$/6611/' file &&
25
+ poke file &&
26
test x\"\`sed -n -e 58p < file\`\" = x5588 &&
27
test x\"\`sed -n -e 61p < file\`\" = x6611 &&
28
svn commit -m '58 => 5588, 61 => 6611' &&