Browse Source

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>
maint
Eric Wong 17 years ago
parent
commit
8d92f24852
  1. 1
      t/t9106-git-svn-dcommit-clobber-series.sh

1
t/t9106-git-svn-dcommit-clobber-series.sh

@ -22,6 +22,7 @@ test_expect_success '(supposedly) non-conflicting change from SVN' " @@ -22,6 +22,7 @@ test_expect_success '(supposedly) non-conflicting change from SVN' "
cd tmp &&
perl -i -p -e 's/^58\$/5588/' file &&
perl -i -p -e 's/^61\$/6611/' file &&
poke file &&
test x\"\`sed -n -e 58p < file\`\" = x5588 &&
test x\"\`sed -n -e 61p < file\`\" = x6611 &&
svn commit -m '58 => 5588, 61 => 6611' &&

Loading…
Cancel
Save