summaryrefslogtreecommitdiff
path: root/t/re/regexp_nonull.t
blob: 979af25aade937f897e95e18c5c5d7d74b38f42d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!./perl

# Matches regular expressions against strings with no terminating null
# character.

print("1..0 # Skip No XS::APItest under miniperl\n"), exit 0 if
  !defined &DynaLoader::boot_DynaLoader;

$no_null = 1;
for $file ('./re/regexp.t', './t/re/regexp.t', ':re:regexp.t') {
  if (-r $file) {
    do $file or die $@;
    exit;
  }
}
die "Cannot find ./re/regexp.t or ./t/re/regexp.t\n";