From: Mark Schouten Date: Fri, 14 Nov 2014 15:35:58 +0000 (+0100) Subject: Show the diffs of failed regressiontests X-Git-Tag: dnsdist-1.0.0-alpha1~59^2~4^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3302d549895919fb63d8c6e3966951a638fac7cb;p=thirdparty%2Fpdns.git Show the diffs of failed regressiontests --- diff --git a/regression-tests.nobackend/runtests b/regression-tests.nobackend/runtests index 2e9a38ca14..c780ba9054 100755 --- a/regression-tests.nobackend/runtests +++ b/regression-tests.nobackend/runtests @@ -7,7 +7,11 @@ export testsdir=$(pwd) failed_tests=`wc -l failed_tests | cut -f 1 -d ' '` if [ $failed_tests = 0 ]; then - exit 0; + exit 0; else - exit 1; + for t in `cat failed_tests`; do + cat $t/diff + done + + exit 1; fi