From 3f497a20cc0b69fec4afec08187ad059348caf1a Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Tue, 6 Jan 2015 16:13:45 +0100 Subject: reproducible: leave a note in the empty logfile if debbindiff is killed due to timeout --- bin/reproducible_build.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh index 1c622b5d..21f81952 100755 --- a/bin/reproducible_build.sh +++ b/bin/reproducible_build.sh @@ -163,6 +163,9 @@ else echo | tee -a ${RBUILDLOG} if [ $RESULT -eq 124 ] ; then echo "$(date) - debbindiff was killed after running into timeout... maybe there is still $REPRODUCIBLE_URL/userContent/dbd/${LOGFILE}" | tee -a ${RBUILDLOG} + if [ ! -s ./${LOGFILE} ] ; then + echo "$(date) - debbindiff produced no output and was killed after running into timeout..." + fi elif [ $RESULT -eq 1 ] ; then DEBBINDIFFOUT="debbindiff found issues, please investigate $REPRODUCIBLE_URL/userContent/dbd/${LOGFILE}" fi -- cgit v1.2.3-70-g09d2