diff options
Diffstat (limited to 't/pm/DisjCon3.pl')
-rw-r--r-- | t/pm/DisjCon3.pl | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/t/pm/DisjCon3.pl b/t/pm/DisjCon3.pl index cc1f467fd..6ccd734f7 100644 --- a/t/pm/DisjCon3.pl +++ b/t/pm/DisjCon3.pl @@ -20,4 +20,10 @@ use Automake::Condition qw/TRUE FALSE/; use Automake::DisjConditions; my $cond = new Automake::Condition ("COND1_TRUE"); -new Automake::DisjConditions ("$cond"); + +eval { new Automake::DisjConditions ("$cond") }; + +warn $@ if $@; + +exit 0 if $@; +exit 1; |