Skip to content

Commit

Permalink
Hack for RT 55729 until BSD can provide a proper fix. This patch shou…
Browse files Browse the repository at this point in the history
…ld be reverted once the PR is resolved.

http://www.freebsd.org/cgi/query-pr.cgi?pr=157469

Update .gitignore to ignore more temporary files.
  • Loading branch information
toddr committed May 31, 2011
1 parent ade7d56 commit ce7f95e
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 17 deletions.
33 changes: 18 additions & 15 deletions .gitignore
@@ -1,15 +1,18 @@
blib* blib*
Makefile Makefile
Makefile.old Makefile.old
Build Build
_build* _build*
pm_to_blib* pm_to_blib*
*.tar.gz *.tar.gz
.lwpcookies .lwpcookies
XML-Parser-* XML-Parser-*
cover_db cover_db
Build.bat Build.bat
*.tmp *.tmp

*.orig
META.yml META.yml
MYMETA.yml MYMETA.yml
Expat/Expat.bs
Expat/Expat.c
Expat/Expat.o
8 changes: 7 additions & 1 deletion t/decl.t
Expand Up @@ -69,7 +69,13 @@ my $parser = new XML::Parser(ErrorContext => 2,
ParseParamEnt => 1, ParseParamEnt => 1,
Handlers => {Entity => \&enth1}); Handlers => {Entity => \&enth1});


$parser->parse($docstr); eval { $parser->parse($docstr) };
if($@ && $^O =~ m/freebsd/i) {
for(2..30) {
print "not ok $_ - Cannot test due to Free BSD PR 157469 # TODO: Waiting for Free BSD fix in expat\n";
}
exit;
}


sub eleh { sub eleh {
my ($p, $name, $model) = @_; my ($p, $name, $model) = @_;
Expand Down
8 changes: 7 additions & 1 deletion t/parament.t
Expand Up @@ -82,7 +82,13 @@ $p = new XML::Parser(ParseParamEnt => 1,
} }
); );


$p->parse($doc); eval { $p->parse($doc) };
if($@ && $^O =~ m/freebsd/i) {
for(2..12) {
print "not ok $_ - Cannot test due to Free BSD PR 157469 # TODO: Waiting for Free BSD fix in expat\n";
}
exit;
}


print "not " unless $gotmore; print "not " unless $gotmore;
print "ok 6\n"; print "ok 6\n";
Expand Down

0 comments on commit ce7f95e

Please sign in to comment.