diff options
Diffstat (limited to 'source4/script/tests/selftest.pl')
-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 8d72928ed5..e991d0a3d6 100755 --- a/source4/script/tests/selftest.pl +++ b/source4/script/tests/selftest.pl @@ -172,7 +172,10 @@ sub skip($) { my $fullname = shift; - return 1 if (grep(/^$fullname$/, @skips)); + foreach (@skips) { + return 1 if ($fullname =~ /$_/); + } + return 0; } |