t910*: s/repo-config/config/g; poke around possible race conditions
Some of the repo-config => config renaming missed the git-svn
tests; so I'm just renaming them to be consisten with the
rest of the modern git.
Also, some of the newer tests didn't have 'poke' in them
to workaround race conditions on fast machines. This adds
places where they can _possibly_ occur; but I don't have
fast enough hardware to trigger them.
Signed-off-by: Eric Wong <normalperson@yhbt.net>
test_expect_failure 'exit if remote refs are ambigious' "
git-repo-config --add svn-remote.svn.fetch \
git-config --add svn-remote.svn.fetch \
bar:refs/remotes/git-svn &&
git-svn migrate
"
@ -222,7 +222,7 @@ test_expect_failure 'exit if remote refs are ambigious' "
@@ -222,7 +222,7 @@ test_expect_failure 'exit if remote refs are ambigious' "
test_expect_failure 'exit if init-ing a would clobber a URL' "
svnadmin create ${PWD}/svnrepo2 &&
svn mkdir -m 'mkdir bar' ${svnrepo}2/bar &&
git-repo-config --unset svn-remote.svn.fetch \
git-config --unset svn-remote.svn.fetch \
'^bar:refs/remotes/git-svn$' &&
git-svn init ${svnrepo}2/bar
"
@ -230,9 +230,9 @@ test_expect_failure 'exit if init-ing a would clobber a URL' "
@@ -230,9 +230,9 @@ test_expect_failure 'exit if init-ing a would clobber a URL' "
test_expect_success \
'init allows us to connect to another directory in the same repo' "
@ -39,10 +39,10 @@ test_expect_success 'init and fetch a moved directory' "
@@ -39,10 +39,10 @@ test_expect_success 'init and fetch a moved directory' "
"
test_expect_success 'init and fetch from one svn-remote' "
git-repo-config svn-remote.svn.url $svnrepo &&
git-repo-config --add svn-remote.svn.fetch \
git-config svn-remote.svn.url $svnrepo &&
git-config --add svn-remote.svn.fetch \
trunk:refs/remotes/svn/trunk &&
git-repo-config --add svn-remote.svn.fetch \
git-config --add svn-remote.svn.fetch \
thunk:refs/remotes/svn/thunk &&
git-svn fetch -i svn/thunk &&
test \"\`git-rev-parse --verify refs/remotes/svn/trunk\`\" \
@ -54,7 +54,7 @@ test_expect_success 'init and fetch from one svn-remote' "
@@ -54,7 +54,7 @@ test_expect_success 'init and fetch from one svn-remote' "