DORMANTno replies

[PATCH] t9600: allow testing with cvsps 2.2, including beta versions

From: Pavel Roskin <hidden>
Date: 2016-06-15 22:44:56
Subsystem: the rest · Maintainer: Linus Torvalds

Don't assume that unsupported versions are too old, they may be too new.

Signed-off-by: Pavel Roskin <redacted>
---

 t/t9600-cvsimport.sh |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/t/t9600-cvsimport.sh b/t/t9600-cvsimport.sh
index 655f882..f92b47a 100755
--- a/t/t9600-cvsimport.sh
+++ b/t/t9600-cvsimport.sh
@@ -20,13 +20,15 @@ cvsps_version=`cvsps -h 2>&1 | sed -ne 's/cvsps version //p'`
 case "$cvsps_version" in
 2.1)
 	;;
+2.2*)
+	;;
 '')
 	say 'skipping cvsimport tests, cvsps not found'
 	test_done
 	exit
 	;;
 *)
-	say 'skipping cvsimport tests, cvsps too old'
+	say 'skipping cvsimport tests, unsupported cvsps version'
 	test_done
 	exit
 	;;
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help