]> git.ipfire.org Git - thirdparty/rrdtool-1.x.git/commitdiff
Allow to ask for continuing tests for intergration testing
authorPeter Stamfest <peter@stamfest.at>
Wed, 5 Mar 2014 19:48:38 +0000 (20:48 +0100)
committerPeter Stamfest <peter@stamfest.at>
Wed, 5 Mar 2014 19:48:38 +0000 (20:48 +0100)
tests/functions

index 269b14d2f802890b28ca398113a821a7eabc37aa..1b8d4d71af8a6a8f843e9078379c04ab7c8d161b 100644 (file)
@@ -4,10 +4,12 @@ BASEDIR=$(dirname $0)
 RRDTOOL=$BASEDIR/../src/rrdtool
 
 DIFF="diff -u"
-INTERACTIVE=
 
 function fail {
        echo >&2 "FAILED:" "$@"
+       if [ -n "$CONTINUE" ] ; then
+               return
+       fi
        if [ -n "$INTERACTIVE" ] ; then
                read -p "Continue? (y/n)" YN
                if [ "$YN" != 'y' ] ; then