summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDanny Abukalam <dannyabukalam@codethink.co.uk>2012-01-09 15:55:17 +0000
committerDanny Abukalam <dannyabukalam@codethink.co.uk>2012-01-09 15:55:17 +0000
commit1cc3604133185f822d1e076db455aee1b91a0506 (patch)
tree259ccd661eeef6bdec3fe7f662950df8af4def52 /tests
parentfd0052231b6f84002d73c2c73259668088b730ba (diff)
downloadtbdiff-1cc3604133185f822d1e076db455aee1b91a0506.tar.gz
Fixed bug didn't exit when cross_plat.sh failed.
Diffstat (limited to 'tests')
-rwxr-xr-xtests/cross_plat.sh6
1 files changed, 6 insertions, 0 deletions
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