diff options
Diffstat (limited to 'source4')
-rwxr-xr-x | source4/script/tests/selftest.pl | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source4/script/tests/selftest.pl b/source4/script/tests/selftest.pl index da4f097701..8d72928ed5 100755 --- a/source4/script/tests/selftest.pl +++ b/source4/script/tests/selftest.pl @@ -161,7 +161,9 @@ sub expecting_failure($) { my $fullname = shift; - return 1 if (grep(/^$fullname$/, @expected_failures)); + foreach (@expected_failures) { + return 1 if ($fullname =~ /$_/); + } return 0; } @@ -317,6 +319,7 @@ sub run_test($$$$$$) $statistics->{TESTS_EXPECTED_FAIL}++; $expected_ret = 0; } else { + print "n:$name/$2l\n"; $statistics->{TESTS_UNEXPECTED_FAIL}++; } } elsif ($1 eq "skip") { |