git svn info: tests: let 'init' test run with SVN 1.5
authorThomas Rast <trast@student.ethz.ch>
Tue, 26 Aug 2008 19:32:32 +0000 (21:32 +0200)
committerEric Wong <normalperson@yhbt.net>
Fri, 5 Sep 2008 23:58:39 +0000 (16:58 -0700)
Signed-off-by: Thomas Rast <trast@student.ethz.ch>
Acked-by: Eric Wong <normalperson@yhbt.net>
t/t9119-git-svn-info.sh

index 5fd36a148304e4532f4e1b30deac781028c68271..46676bc05ebf2d9bd8e36b418c6e5ce58dca24db 100755 (executable)
@@ -9,9 +9,9 @@ test_description='git-svn info'
 set -e
 
 # Tested with: svn, version 1.4.4 (r25188)
-v=`svn --version | sed -n -e 's/^svn, version \(1\.4\.[0-9]\).*$/\1/p'`
+v=`svn --version | sed -n -e 's/^svn, version \(1\.[0-9]*\.[0-9]*\).*$/\1/p'`
 case $v in
-1.4.*)
+1.[45].*)
        ;;
 *)
        say "skipping svn-info test (SVN version: $v not supported)"