Re: Simple @INC hook core dump [PATCH]
[p5sagit/p5-mst-13.2.git] / t / harness
index 455a1f9..f7239fe 100644 (file)
--- a/t/harness
+++ b/t/harness
@@ -71,7 +71,7 @@ if (@ARGV) {
        my $mani  = File::Spec->catfile(File::Spec->updir, "MANIFEST");
        if (open(MANI, $mani)) {
            while (<MANI>) { # similar code in t/TEST
-           if (m!^(ext/\S+/?([^/]+\.t|test\.pl)|lib/\S+?(\.t|test\.pl))\s!) {
+           if (m!^(ext/\S+/?(?:[^/\s]+\.t|test\.pl)|lib/\S+?(?:\.t|test\.pl))\s!) {
                    push @tests, File::Spec->catfile($updir, $1);
                }
            }