From 738319c6eb845b1c5115bfc9a59c1609c177a98d Mon Sep 17 00:00:00 2001 From: john30 Date: Mon, 17 Apr 2017 13:55:23 +0200 Subject: [PATCH] moved reload, include log on error, made curl silent --- test_coverage.sh | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/test_coverage.sh b/test_coverage.sh index 6c9429b8..af02fcf7 100755 --- a/test_coverage.sh +++ b/test_coverage.sh @@ -204,6 +204,7 @@ kill -1 $pid #client: readarray lines </dev/null - curl "http://localhost:8878/data/broadcast/?since=1&exact=1&required=" >/dev/null - curl "http://localhost:8878/data/mc.4/outsidetemp?poll=1" >/dev/null - curl "http://localhost:8878/data/?verbose=1" >/dev/null - curl "http://localhost:8878/data/?indexed=1&numeric=1" >/dev/null - curl "http://localhost:8878/data/?full" >/dev/null - curl "http://localhost:8878/data/mc.5/installparam?poll=1&user=test&secret=testpass" >/dev/null + curl -s "http://localhost:8878/data/" >/dev/null + curl -s "http://localhost:8878/data/broadcast/?since=1&exact=1&required=" >/dev/null + curl -s "http://localhost:8878/data/mc.4/outsidetemp?poll=1" >/dev/null + curl -s "http://localhost:8878/data/?verbose=1" >/dev/null + curl -s "http://localhost:8878/data/?indexed=1&numeric=1" >/dev/null + curl -s "http://localhost:8878/data/?full" >/dev/null + curl -s "http://localhost:8878/data/mc.5/installparam?poll=1&user=test&secret=testpass" >/dev/null curl -T .travis.yml http://localhost:8878/data/ echo "commands done" kill $lstpid @@ -324,6 +324,8 @@ if [ "x$verify" != 'xaddress 04: slave #25, scanned "MF=153;ID=BBBBB;SW=3031;HW= echo "error unexpected result from info command: $verify" kill $pid kill $srvpid + echo "ebusd log:" + cat "$PWD/ebusd.log" exit 1 fi kill $pid