X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=t%2Ft9128-git-svn-cmd-branch.sh;h=4b034a67f305622f146e66914139e58045e2457e;hb=ae5e97ec40a36408a8f90973c23e6143741ec732;hp=807e494a3af4eb889711cbd7bb8d20c160557301;hpb=92246f6bcf41f1287009e73fc501c36ae9fdeeb4;p=git.git diff --git a/t/t9128-git-svn-cmd-branch.sh b/t/t9128-git-svn-cmd-branch.sh index 807e494a3..4b034a67f 100755 --- a/t/t9128-git-svn-cmd-branch.sh +++ b/t/t9128-git-svn-cmd-branch.sh @@ -9,19 +9,19 @@ test_description='git svn partial-rebuild tests' test_expect_success 'initialize svnrepo' ' mkdir import && ( - cd import && + (cd import && mkdir trunk branches tags && - cd trunk && - echo foo > foo && - cd .. && - svn_cmd import -m "import for git-svn" . "$svnrepo" >/dev/null && - cd .. && + (cd trunk && + echo foo > foo + ) && + svn_cmd import -m "import for git-svn" . "$svnrepo" >/dev/null + ) && rm -rf import && svn_cmd co "$svnrepo"/trunk trunk && - cd trunk && + (cd trunk && echo bar >> foo && - svn_cmd ci -m "updated trunk" && - cd .. && + svn_cmd ci -m "updated trunk" + ) && rm -rf trunk ) '