We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9a591a9 + 63c00a6 commit 0724f72Copy full SHA for 0724f72
1 file changed
t/t9123-git-svn-rebuild-with-rewriteroot.sh
@@ -7,12 +7,15 @@ test_description='git svn respects rewriteRoot during rebuild'
7
8
. ./lib-git-svn.sh
9
10
-mkdir import
11
-(cd import
12
- touch foo
13
- svn_cmd import -m 'import for git svn' . "$svnrepo" >/dev/null
14
-)
15
-rm -rf import
+test_expect_success 'setup svn repository' '
+ test_when_finished "rm -rf import" &&
+ mkdir import &&
+ (
+ cd import &&
+ touch foo &&
16
+ svn_cmd import -m "import for git svn" . "$svnrepo" >/dev/null
17
+ )
18
+ '
19
20
test_expect_success 'init, fetch and checkout repository' '
21
git svn init --rewrite-root=http://invalid.invalid/ "$svnrepo" &&
0 commit comments