From: Artem Bityutskiy Date: Fri, 3 Aug 2012 08:32:18 +0000 (+0300) Subject: runtests.sh: print more consistent messages X-Git-Tag: v1.5.1~57 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=a2a62b09c8fc6d7e3018d61b89fe1cebfc468802;p=mtd-utils.git runtests.sh: print more consistent messages On success we print "SUCCESS", lets print "FAILURE" on failure. Signed-off-by: Artem Bityutskiy --- diff --git a/tests/ubi-tests/runtests.sh b/tests/ubi-tests/runtests.sh index a69a9bf..539ef9d 100755 --- a/tests/ubi-tests/runtests.sh +++ b/tests/ubi-tests/runtests.sh @@ -5,6 +5,7 @@ tests="mkvol_basic mkvol_bad mkvol_paral rsvol io_basic io_read io_update io_par fatal() { echo "Error: $1" 1>&2 + echo "FAILURE" exit 1 }