diff options
| author | Junio C Hamano <gitster@pobox.com> | 2016-07-28 13:13:53 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2016-07-28 13:13:53 -0700 |
| commit | 0f3d855efc2f8104bb3e168dd3f74bc84e0d2d45 (patch) | |
| tree | 32ec37cc330d9528778f0403756ed06158251a5f /t/t9100-git-svn-basic.sh | |
| parent | Merge branch 'sb/submodule-deinit-all' (diff) | |
| parent | git-svn: allow --version to work anywhere (diff) | |
| download | git-0f3d855efc2f8104bb3e168dd3f74bc84e0d2d45.tar.gz git-0f3d855efc2f8104bb3e168dd3f74bc84e0d2d45.zip | |
Merge branch 'master' of git://git.bogomips.org/git-svn
* 'master' of git://git.bogomips.org/git-svn:
git-svn: allow --version to work anywhere
git-svn: document svn.authorsProg in config
Diffstat (limited to 't/t9100-git-svn-basic.sh')
| -rwxr-xr-x | t/t9100-git-svn-basic.sh | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/t/t9100-git-svn-basic.sh b/t/t9100-git-svn-basic.sh index 28082b134f..ab6593b910 100755 --- a/t/t9100-git-svn-basic.sh +++ b/t/t9100-git-svn-basic.sh @@ -19,6 +19,25 @@ case "$GIT_SVN_LC_ALL" in ;; esac +deepdir=nothing-above +ceiling=$PWD + +test_expect_success 'git svn --version works anywhere' ' + mkdir -p "$deepdir" && ( + export GIT_CEILING_DIRECTORIES="$ceiling" && + cd "$deepdir" && + git svn --version + ) +' + +test_expect_success 'git svn help works anywhere' ' + mkdir -p "$deepdir" && ( + export GIT_CEILING_DIRECTORIES="$ceiling" && + cd "$deepdir" && + git svn help + ) +' + test_expect_success \ 'initialize git svn' ' mkdir import && |
