diff options
author | Amitay Isaacs <amitay@gmail.com> | 2015-03-05 13:11:46 +1100 |
---|---|---|
committer | Martin Schwenke <martins@samba.org> | 2015-03-05 07:16:54 +0100 |
commit | 956d1dbfd91615032de337b0d84b40c16657b8c1 (patch) | |
tree | ac500df5737afdb9459ded38ee73ed2e545cb43b /python/samba/tests/subunitrun.py | |
parent | 956e51707d7ddcff060352f54d11ff42bdcc51ef (diff) | |
download | samba-956d1dbfd91615032de337b0d84b40c16657b8c1.tar.gz samba-956d1dbfd91615032de337b0d84b40c16657b8c1.tar.xz samba-956d1dbfd91615032de337b0d84b40c16657b8c1.zip |
ctdb-tests: Correctly cascade test failures from the end of pipes
Some eventscript unit test failures get lost because _passed=false is
set in the tail of a pipe. Add a new function test_fail() and call it
when necessary to ensure the value of _passed is set correctly.
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Pair-programmed-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Martin Schwenke <martin@meltin.net>
Autobuild-User(master): Martin Schwenke <martins@samba.org>
Autobuild-Date(master): Thu Mar 5 07:16:54 CET 2015 on sn-devel-104
Diffstat (limited to 'python/samba/tests/subunitrun.py')
0 files changed, 0 insertions, 0 deletions