diff options
author | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2004-06-23 06:47:50 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2004-06-23 06:47:50 +0000 |
commit | d55f9dce9f5f48f7a1a5e1c51ace5e2def59f46a (patch) | |
tree | 43849b2ff810693d6bf044ae75ad2f1a9d1aa5e6 /t/fatal.t | |
parent | e69108e1161af269cc9edd73295e75182886a2a2 (diff) | |
download | perl-URPM-d55f9dce9f5f48f7a1a5e1c51ace5e2def59f46a.tar perl-URPM-d55f9dce9f5f48f7a1a5e1c51ace5e2def59f46a.tar.gz perl-URPM-d55f9dce9f5f48f7a1a5e1c51ace5e2def59f46a.tar.bz2 perl-URPM-d55f9dce9f5f48f7a1a5e1c51ace5e2def59f46a.tar.xz perl-URPM-d55f9dce9f5f48f7a1a5e1c51ace5e2def59f46a.zip |
Clarify error message when a synthesis file can't be read or gunzipped
Diffstat (limited to 't/fatal.t')
-rw-r--r-- | t/fatal.t | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -10,7 +10,7 @@ eval { $u->parse_hdlist('non-existent'); }; like( $@, qr/^cannot open hdlist file non-existent/, 'fatal error on hdlist not found' ); is( $! + 0, $!{EBADF}, '$! is EBADF' ); eval { $u->parse_synthesis('non-existent'); }; -like( $@, qr/^unable to uncompress synthesis file non-existent/, 'fatal error on synthesis not found' ); +like( $@, qr/^unable to read synthesis file non-existent/, 'fatal error on synthesis not found' ); is( $! + 0, $!{ENOENT}, '$! is ENOENT' ); my $v = new URPM( nofatal => 1 ); |