t/helper: merge test-read-cache into test-tool
[gitweb.git] / t / t9100-git-svn-basic.sh
index 28082b134fd54aafa38a4ac2964fd4c367e19fa2..c937330a5f3a7f6b5c4d8e406564bd88dd0c889b 100755 (executable)
@@ -8,8 +8,6 @@ GIT_SVN_LC_ALL=${LC_ALL:-$LANG}
 
 . ./lib-git-svn.sh
 
-say 'define NO_SVN_TESTS to skip git svn tests'
-
 case "$GIT_SVN_LC_ALL" in
 *.UTF-8)
        test_set_prereq UTF8
@@ -19,6 +17,14 @@ case "$GIT_SVN_LC_ALL" in
        ;;
 esac
 
+test_expect_success 'git svn --version works anywhere' '
+       nongit git svn --version
+'
+
+test_expect_success 'git svn help works anywhere' '
+       nongit git svn help
+'
+
 test_expect_success \
     'initialize git svn' '
        mkdir import &&
@@ -282,12 +288,12 @@ test_expect_success 'able to dcommit to a subdirectory' '
 
 test_expect_success 'dcommit should not fail with a touched file' '
        test_commit "commit-new-file-foo2" foo2 &&
-       test-chmtime =-60 foo &&
+       test-tool chmtime =-60 foo &&
        git svn dcommit
 '
 
 test_expect_success 'rebase should not fail with a touched file' '
-       test-chmtime =-60 foo &&
+       test-tool chmtime =-60 foo &&
        git svn rebase
 '