From: Jarkko Hietaniemi Date: Mon, 1 Oct 2001 01:24:12 +0000 (+0000) Subject: (Retracted by #12285) X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=b0d7043a7a4033b1b37360ded8c7eb09d14068c3;p=p5sagit%2Fp5-mst-13.2.git (Retracted by #12285) p4raw-id: //depot/perl@12284 --- diff --git a/lib/Term/Cap.t b/lib/Term/Cap.t index ea34927..24b0dfb 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) }; -like( $@, qr/failed termcap lookup/, 'Tgetent() dies with bad termcap file' ); +ok( $@, 'Tgetent() dies with bad termcap file' ); SKIP: { skip( "Can't write 'tcout' file for tests", 8 ) unless $writable;