1 Debian patch touch this file
-
perlfunc.pod formatting changed in 5.26. Adjust regexp in test.
- Author
- gregor herrmann <[email protected]>
- Bug
- https://rt.cpan.org/Ticket/Display.html?id=122210
- Origin
- vendor:
- Forwarded
- https://rt.cpan.org/Ticket/Display.html?id=122210
| 1 | # pfcat testing |
| 2 | |
| 3 | # ------ pragmas |
| 4 | use strict; |
| 5 | use warnings; |
| 6 | use Test::More tests => 2; |
| 7 | |
| 8 | # ------ define variable |
| 9 | my $output = undef; # output from pfcat |
| 10 | |
| 11 | # ------ add pmtools to PATH for testing, so we use the current pmtools |
| 12 | $ENV{"PATH"} = 'blib/script:' . $ENV{"PATH"}; |
| 13 | |
| 14 | eval { |
| 15 | $output = `bin/pfcat seek 2>&1`; |
| 16 | }; |
| 17 | |
| 18 | is($?, 0, "pfcat runs"); |
| •19 | like($output, qr/There is no .*systell.* function.\s+Use\s.*sysseek/, "catted module function"); |