Reduce noise level in test_bitcoin
output.
Context: When working on the non-determinism issues in the unit tests (see #15296) I got a bit tired of the amount of noise in the test_bitcoin
output :-)
Before:
0$ src/test/test_bitcoin --log_level=test_suite 2>&1 | grep -vE '(Entering|Leaving)' | uniq -c
1 1 Running 341 test cases...
2 1 Test case blockencodings_tests/TransactionsRequestDeserializationOverflowTest did not check any assertions
3 1 CheckSplitTorReplyLine(PROTOCOLINFO PIVERSION)
4 1 CheckSplitTorReplyLine(AUTH METHODS=COOKIE,SAFECOOKIE COOKIEFILE="/home/x/.tor/control_auth_cookie")
5 1 CheckSplitTorReplyLine(AUTH METHODS=NULL)
6 1 CheckSplitTorReplyLine(AUTH METHODS=HASHEDPASSWORD)
7 1 CheckSplitTorReplyLine(VERSION Tor="0.2.9.8 (git-a0df013ea241b026)")
8 1 CheckSplitTorReplyLine(AUTHCHALLENGE SERVERHASH=aaaa SERVERNONCE=bbbb)
9 1 CheckSplitTorReplyLine(COMMAND)
10 1 CheckSplitTorReplyLine(COMMAND SOME ARGS)
11 1 CheckSplitTorReplyLine(COMMAND ARGS)
12 1 CheckSplitTorReplyLine(COMMAND EVEN+more ARGS)
13 1 CheckParseTorReplyMapping(METHODS=COOKIE,SAFECOOKIE COOKIEFILE="/home/x/.tor/control_auth_cookie")
14 1 CheckParseTorReplyMapping(METHODS=NULL)
15 1 CheckParseTorReplyMapping(METHODS=HASHEDPASSWORD)
16 1 CheckParseTorReplyMapping(Tor="0.2.9.8 (git-a0df013ea241b026)")
17 1 CheckParseTorReplyMapping(SERVERHASH=aaaa SERVERNONCE=bbbb)
18 1 CheckParseTorReplyMapping(ServiceID=exampleonion1234)
19 1 CheckParseTorReplyMapping(PrivateKey=RSA1024:BLOB)
20 1 CheckParseTorReplyMapping(ClientAuth=bob:BLOB)
21 1 CheckParseTorReplyMapping(Foo=Bar=Baz Spam=Eggs)
22 1 CheckParseTorReplyMapping(Foo="Bar=Baz")
23 1 CheckParseTorReplyMapping(Foo="Bar Baz")
24 1 CheckParseTorReplyMapping(Foo="Bar\ Baz")
25 1 CheckParseTorReplyMapping(Foo="Bar\Baz")
26 1 CheckParseTorReplyMapping(Foo="Bar\@Baz")
27 1 CheckParseTorReplyMapping(Foo="Bar\"Baz" Spam="\"Eggs\"")
28 1 CheckParseTorReplyMapping(Foo="Bar\\Baz")
29 1 CheckParseTorReplyMapping(Foo="Bar\nBaz\t" Spam="\rEggs" Octals="\1a\11\17\18\81\377\378\400\2222" Final=Check)
30 1 CheckParseTorReplyMapping(Valid=Mapping Escaped="Escape\\")
31 1 CheckParseTorReplyMapping(Valid=Mapping Bare="Escape\")
32 1 CheckParseTorReplyMapping(OneOctal="OneEnd\1" TwoOctal="TwoEnd\11")
33 1 CheckParseTorReplyMapping(Null="\0")
34 1 CheckParseTorReplyMapping(SOME=args,here MORE optional=arguments here)
35 1 CheckParseTorReplyMapping(ARGS)
36 1 CheckParseTorReplyMapping(MORE ARGS)
37 1 CheckParseTorReplyMapping(MORE ARGS)
38 1 CheckParseTorReplyMapping(EVEN more=ARGS)
39 1 CheckParseTorReplyMapping(EVEN+more ARGS)
40 1 Test case util_tests/util_criticalsection did not check any assertions
41 1 Testing known outcomes
42 326 Error: Specified -walletdir "/tmp/test_bitcoin/1553850209_943311758/tempdir/path_does_not_exist" does not exist
43 327 Error: Specified -walletdir "/tmp/test_bitcoin/1553850209_643733972/tempdir/not_a_directory.dat" is not a directory
44 328 Error: Specified -walletdir "wallets" is a relative path
45 1
46 1 *** No errors detected
After:
0$ src/test/test_bitcoin --log_level=test_suite 2>&1 | grep -vE '(Entering|Leaving)' | uniq -c
1 1 Running 341 test cases...
2 1 Error: Specified -walletdir "/tmp/test_bitcoin/1553850026_943311758/tempdir/path_does_not_exist" does not exist
3 1 Error: Specified -walletdir "/tmp/test_bitcoin/1553850026_643733972/tempdir/not_a_directory.dat" is not a directory
4 1 Error: Specified -walletdir "wallets" is a relative path
5 1
6 1 *** No errors detected