Skip to content

Commit

Permalink
Fix test failures caused by Archive-Extract upgrade
Browse files Browse the repository at this point in the history
p4raw-id: //depot/perl@35106
  • Loading branch information
Steve Hay authored and Steve Hay committed Dec 15, 2008
1 parent 8328529 commit 29c6b33
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/Archive/Extract.pm
Expand Up @@ -38,7 +38,7 @@ use vars qw[$VERSION $PREFER_BIN $PROGRAMS $WARN $DEBUG
$_ALLOW_BIN $_ALLOW_PURE_PERL
];

$VERSION = '0.28';
$VERSION = '0.28_01';
$PREFER_BIN = 0;
$WARN = 1;
$DEBUG = 0;
Expand Down
4 changes: 3 additions & 1 deletion lib/Archive/Extract/t/01_Archive-Extract.t
Expand Up @@ -350,7 +350,9 @@ for my $switch ( [0,1], [1,0] ) {
: ($OutDir);

skip "No binaries or modules to extract ".$archive,
(10 * scalar @outs) if $mod_fail && $pgm_fail;
(10 * scalar @outs) if
($mod_fail && ($pgm_fail || !$Archive::Extract::_ALLOW_BIN)) ||
($pgm_fail && ($mod_fail || !$Archive::Extract::_ALLOW_PURE_PERL));

### we dont warnings spewed about missing modules, that might
### be a problem...
Expand Down

0 comments on commit 29c6b33

Please sign in to comment.