summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rwxr-xr-xtests/tests/manpages-format6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/tests/manpages-format b/tests/tests/manpages-format
index c905445..79efb87 100755
--- a/tests/tests/manpages-format
+++ b/tests/tests/manpages-format
@@ -37,12 +37,14 @@ not_egrep_vxPf () {
perl -ne '
BEGIN () {
open PATS, shift @ARGV or die $!;
- $re = join "|", map { chomp; qr{^(?:$_)$} } <PATS>;
+ $re = join "|", map { chomp; qr{^(?:$_)$} }
+ qr{^(?=a)b}, <PATS>;
+ print STDERR "RE $re\n";
}
next if m{$re};
print STDERR "unexpected: $_";
$bad = 1;
- END { die "unexpected, re= $re\n" if $bad; }
+ END { die "unexpected errors\n" if $bad; }
' "$@"
}