]> git.ipfire.org Git - thirdparty/bind9.git/commit
Omit spurious string from unit test debugging efforts enhance_unit_test_debugging
authorMichal Nowak <mnowak@isc.org>
Wed, 8 Jan 2020 14:07:43 +0000 (15:07 +0100)
committerMichal Nowak <mnowak@isc.org>
Wed, 8 Jan 2020 14:20:26 +0000 (15:20 +0100)
commite6ded8ed5b7ffdf576d116ab9d1e52bd3bda79c9
tree0f50003b996a5e2acb1c14e159a5fa3dfcacbb29
parent3bce0c2c20c64078854b54ca27527a1ff01efeef
Omit spurious string from unit test debugging efforts

When both 'broken' and 'failed' test cases appear in unit test output

...
===> Broken tests
lib/isc/tests/socket_test:main  ->  broken: Test case timed out  [300.022s]
===> Failed tests
lib/isc/tests/time_test:main  ->  failed: 2 of 6 tests failed  [0.006s]
===> Summary
...

spurious '===>' string gets matched, that results in the following
error:

  Usage error for command debug: '===>' is not a test case identifier (missing ':'?).

Following change makes sure the string is omitted.

I checked on FreeBSD and OpenBSD that the AWK construct is supported.
unit/unittest.sh.in