Fix email address.
[p5sagit/p5-mst-13.2.git] / t / harness
index e9cf2ed..53665f4 100644 (file)
--- a/t/harness
+++ b/t/harness
@@ -63,10 +63,11 @@ 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+/?([^/]+\.t|test\.pl)|lib/\S+?(\.t|test\.pl))\s!) {
                    push @tests, File::Spec->catfile($updir, $1);
                }
            }
+           close MANI;
        } else {
            warn "$0: cannot open $mani: $!\n";
        }