t0002: abstract away SHA-1 specific constants
[gitweb.git] / t / t9122-git-svn-author.sh
index 1190576a658d08a680e177b748cfc5e69caa3ddb..9e8fe38e7ef94b7343122b279c94c250dcf48756 100755 (executable)
@@ -4,20 +4,20 @@ test_description='git svn authorship'
 . ./lib-git-svn.sh
 
 test_expect_success 'setup svn repository' '
-       svn checkout "$svnrepo" work.svn &&
+       svn_cmd checkout "$svnrepo" work.svn &&
        (
                cd work.svn &&
-               echo >file
-               svn add file
-               svn commit -m "first commit" file
+               echo >file &&
+               svn_cmd add file &&
+               svn_cmd commit -m "first commit" file
        )
 '
 
-test_expect_success 'interact with it via git-svn' '
+test_expect_success 'interact with it via git svn' '
        mkdir work.git &&
        (
                cd work.git &&
-               git svn init "$svnrepo"
+               git svn init "$svnrepo" &&
                git svn fetch &&
 
                echo modification >file &&
@@ -74,10 +74,10 @@ test_expect_success 'interact with it via git-svn' '
        # Make sure there are no svn commit messages with excess blank lines
        (
                cd work.svn &&
-               svn up &&
+               svn_cmd up &&
                
-               test $(svn log -r2:2 | wc -l) = 5 &&
-               test $(svn log -r4:4 | wc -l) = 7
+               test $(svn_cmd log -r2:2 | wc -l) = 5 &&
+               test $(svn_cmd log -r4:4 | wc -l) = 7
        )
 '