Skip to content

Scrapy, a fast high-level web crawling & scraping framework for Python.

return trial status as bin/runtests.sh exit value. #118

Daniel Graña66de3d175781
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