When a test harness program fails, make the testsuite fail.
authorAndrew Bartlett <abartlet@samba.org>
Fri, 25 Apr 2008 14:05:07 +0000 (15:05 +0100)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 25 Apr 2008 14:05:07 +0000 (15:05 +0100)
commitff1ad0430095b00daa9e66b45cd85b6f65ab9687
tree03ff59a4fa3678058d96434d53960ed2de103e72
parent0d1fe706e347ddb03f58da5f67853090f6d2ae72
When a test harness program fails, make the testsuite fail.

The problem fixed here is that pidl tests were not causing the 'number
of tests failing' count to increase, due to the way return codes are
processed on pipelines, in the shell.

By setting an exit code if we print 'failure', we ensure we fail
appropriately.

Andrew Bartlett
(This used to be commit 687e81883d37e3d1f55d3a7a87e20fb860888dde)
source4/script/harness2subunit.pl