From b7b2e7fa985f1825581eb335d441cd543e2767e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Gra=C3=B1a?= Date: Fri, 20 Apr 2012 16:40:55 -0300 Subject: [PATCH] return trial status as bin/runtests.sh exit value. #118 --- bin/runtests.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bin/runtests.sh b/bin/runtests.sh index 58ef8f134..973dfe82a 100755 --- a/bin/runtests.sh +++ b/bin/runtests.sh @@ -41,8 +41,10 @@ if [ $# -eq 0 ]; then else $trial "$@" fi +exit_status=$? # cleanup vsftpd stuff [ -n "$vsftpd_pid" ] && kill $vsftpd_pid [ -n "$ftproot" ] && rm -rf $ftproot $vsftpd_conf +exit $exit_status