From 6e6d6013be7f48e7abe6bbfa030a28a3e2e6335c Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Fri, 23 Aug 2019 13:26:51 +0200 Subject: fix test-auditor.sh check for no emergencies --- src/auditor/test-auditor.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/auditor') diff --git a/src/auditor/test-auditor.sh b/src/auditor/test-auditor.sh index 3127e4625..b2b3431a7 100755 --- a/src/auditor/test-auditor.sh +++ b/src/auditor/test-auditor.sh @@ -23,7 +23,7 @@ taler-auditor -c test-auditor.conf -m $MASTER_PUB > test-audit.json fail=0 # if an emergency was detected, that is a bug and we should fail echo -n "Test for emergencies... " -jq -e .emergencies < test-audit.json > /dev/null && (echo Failed; fail=1) || echo OK +jq -e .emergencies[0] < test-audit.json > /dev/null && (echo Failed; fail=1) || echo OK # TODO: Add more checks to ensure test-audit.json matches expectations -- cgit v1.2.3