From e55eb078f5d98f7f2a17af9cd9ba5bf233268baa Mon Sep 17 00:00:00 2001 From: Laurent Bachelier Date: Wed, 18 Jan 2012 11:38:06 +0100 Subject: [PATCH] Return the proper status --- tools/run_tests.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/run_tests.sh b/tools/run_tests.sh index 09609fcd..f6a7ba59 100755 --- a/tools/run_tests.sh +++ b/tools/run_tests.sh @@ -23,8 +23,11 @@ if [ "${BACKEND}" != "" ]; then else find "${WEBOOB_DIR}/weboob" "${WEBOOB_DIR}/modules" -name test.py | xargs nosetests -sv fi +STATUS=$? # safe removal rm -r "${WEBOOB_TMPDIR}"/{icons,repositories,modules} rm "${WEBOOB_TMPDIR}"/{backends,sources.list} rmdir "${WEBOOB_TMPDIR}" + +exit $STATUS