summaryrefslogtreecommitdiff
path: root/lib/Term
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2001-10-01 01:46:35 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-10-01 01:46:35 +0000
commit93e59c9bee9efc338fe8dcf2f9ff64b65373a4d7 (patch)
treeeeab15e0097b5f5194d581def0a8c126e87d0de8 /lib/Term
parentb0d7043a7a4033b1b37360ded8c7eb09d14068c3 (diff)
downloadperl-93e59c9bee9efc338fe8dcf2f9ff64b65373a4d7.tar.gz
Retract #12284.
p4raw-id: //depot/perl@12285
Diffstat (limited to 'lib/Term')
-rw-r--r--lib/Term/Cap.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Term/Cap.t b/lib/Term/Cap.t
index 24b0dfb82a..ea34927318 100644
--- a/lib/Term/Cap.t
+++ b/lib/Term/Cap.t
@@ -103,7 +103,7 @@ isn't( $@, '', 'Tgetent() caught bad termcap file' );
$vals->{TERM} = '';
$ENV{TERMPATH} = $0;
eval { $t = Term::Cap->Tgetent($vals) };
-ok( $@, 'Tgetent() dies with bad termcap file' );
+like( $@, qr/failed termcap lookup/, 'Tgetent() dies with bad termcap file' );
SKIP: {
skip( "Can't write 'tcout' file for tests", 8 ) unless $writable;