From 09085b2ba9fdbdbaf48d6337d193d1579a6f05a7 Mon Sep 17 00:00:00 2001 From: Joachim Nilsson Date: Wed, 6 Nov 2019 16:07:13 +0100 Subject: [PATCH] Debug API test, syslogp() fails on Travis-CI for some reason Signed-off-by: Joachim Nilsson --- test/api.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test/api.sh b/test/api.sh index cac47e7..436a796 100755 --- a/test/api.sh +++ b/test/api.sh @@ -1,5 +1,5 @@ #!/bin/sh -set -e +set -ex . ${srcdir}/test.rc export MSG="no-openlog-apitest" @@ -30,5 +30,6 @@ kill -HUP `cat ${PID}` sleep 2 ./api -i troglobit -p -grep "troglobit - MSGID - ${MSG}" ${LOGV1} +grep "troglobit - MSGID - ${MSG}" ${LOGV1} || (echo "== ${LOGV1}"; tail -10 ${LOGV1}; echo "== ${LOG}"; tail -10 ${LOG}) +