t/lib-httpd/apache.conf: do not use LockFile in apache >= 2.4
[git/git-svn.git] / t / t9123-git-svn-rebuild-with-rewriteroot.sh
blobfd8184787fba13bbbf3f1ef377ad3f979ef8f47a
1 #!/bin/sh
3 # Copyright (c) 2008 Jan Krüger
6 test_description='git svn respects rewriteRoot during rebuild'
8 . ./lib-git-svn.sh
10 mkdir import
11 (cd import
12 touch foo
13 svn_cmd import -m 'import for git svn' . "$svnrepo" >/dev/null
15 rm -rf import
17 test_expect_success 'init, fetch and checkout repository' '
18 git svn init --rewrite-root=http://invalid.invalid/ "$svnrepo" &&
19 git svn fetch &&
20 git checkout -b mybranch ${remotes_git_svn}
23 test_expect_success 'remove rev_map' '
24 rm "$GIT_SVN_DIR"/.rev_map.*
27 test_expect_success 'rebuild rev_map' '
28 git svn rebase >/dev/null
31 test_done