From 1cc3604133185f822d1e076db455aee1b91a0506 Mon Sep 17 00:00:00 2001 From: Danny Abukalam Date: Mon, 9 Jan 2012 15:55:17 +0000 Subject: Fixed bug didn't exit when cross_plat.sh failed. --- tests/cross_plat.sh | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'tests') diff --git a/tests/cross_plat.sh b/tests/cross_plat.sh index 1228bd7..b29163e 100755 --- a/tests/cross_plat.sh +++ b/tests/cross_plat.sh @@ -84,11 +84,17 @@ diff patch1.tbd patch1prime.tbd if [ $? -eq 0 ]; then echo -n "Patch 1: " echo OK +else + cleanup + exit 1 fi diff patch2.tbd patch2prime.tbd if [ $? -eq 0 ]; then echo -n "Patch 2: " echo OK +else + cleanup + exit 1 fi checkmeta -- cgit v1.2.1