From 7a31b051d1f05ebdca27b8df61aefca1fa54ad9e Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Fri, 27 Mar 2020 12:38:47 +0100 Subject: fix test --- src/auditor/test-auditor.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/auditor/test-auditor.sh b/src/auditor/test-auditor.sh index 78fc62c29..e1f89e6db 100755 --- a/src/auditor/test-auditor.sh +++ b/src/auditor/test-auditor.sh @@ -1715,7 +1715,7 @@ then exit_fail "Reported total amount wrong: $AMOUNT" fi - OP=`jq -r --arg dep "deposit" '.bad_sig_losses[] | select(.operation == $dep) | .operation' < test-audit-coins.json` + OP=`jq -r --arg dep "deposit" '.bad_sig_losses[] | select(.operation == $dep) | .operation | head -n1' < test-audit-coins.json` if test "x$OP" != "xdeposit" then exit_fail "Reported wrong operation: $OP" -- cgit v1.2.3