From 37d63aab72b1e40577d61a87eab214601eaf82d2 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Tue, 2 Oct 2007 15:54:26 +0000 Subject: r25466: fix calculation of $expected_ret, when there're some expected and some unexpected failures within one testsuite. metze (This used to be commit ca2a07c71fd5aa2446c0c292b4b058acc0b54838) --- source4/selftest/selftest.pl | 1 + 1 file changed, 1 insertion(+) (limited to 'source4/selftest/selftest.pl') diff --git a/source4/selftest/selftest.pl b/source4/selftest/selftest.pl index 231fd1e4c0..a88e97e01e 100755 --- a/source4/selftest/selftest.pl +++ b/source4/selftest/selftest.pl @@ -248,6 +248,7 @@ sub run_testsuite($$$$$$$) $msg_ops, $msg_state, $statistics, *RESULT, \&expecting_failure); my $ret = close(RESULT); + $ret = 0 unless $ret == 1; cleanup_pcap($msg_state, $expected_ret, $ret); -- cgit