Merge branch 'sb/pack-protocol-doc-nak'
[gitweb.git] / t / t9100-git-svn-basic.sh
index 28082b134fd54aafa38a4ac2964fd4c367e19fa2..d29f60108a4235feae1068a6ea1a89cc7bee5b4b 100755 (executable)
@@ -19,6 +19,27 @@ case "$GIT_SVN_LC_ALL" in
        ;;
 esac
 
+deepdir=nothing-above
+ceiling=$PWD
+
+test_expect_success 'git svn --version works anywhere' '
+       mkdir -p "$deepdir" && (
+               GIT_CEILING_DIRECTORIES="$ceiling" &&
+               export GIT_CEILING_DIRECTORIES &&
+               cd "$deepdir" &&
+               git svn --version
+       )
+'
+
+test_expect_success 'git svn help works anywhere' '
+       mkdir -p "$deepdir" && (
+               GIT_CEILING_DIRECTORIES="$ceiling" &&
+               export GIT_CEILING_DIRECTORIES &&
+               cd "$deepdir" &&
+               git svn help
+       )
+'
+
 test_expect_success \
     'initialize git svn' '
        mkdir import &&