summaryrefslogtreecommitdiff
path: root/dist/bignum/t/bninfnan.t
diff options
context:
space:
mode:
authorFlorian Ragwitz <rafl@debian.org>2010-09-03 01:12:17 +0200
committerFlorian Ragwitz <rafl@debian.org>2010-09-03 01:20:47 +0200
commitc064d6c6600a09556bae5adafca518fb4e6da98a (patch)
treeffc648099a8cc0483c27e9592b37655008e4c6cd /dist/bignum/t/bninfnan.t
parent9dc8ab6efae84d4eaf80f7e1c91f2d2d89ba516b (diff)
downloadperl-c064d6c6600a09556bae5adafca518fb4e6da98a.tar.gz
blead is upstream for bignum
Diffstat (limited to 'dist/bignum/t/bninfnan.t')
-rw-r--r--dist/bignum/t/bninfnan.t39
1 files changed, 39 insertions, 0 deletions
diff --git a/dist/bignum/t/bninfnan.t b/dist/bignum/t/bninfnan.t
new file mode 100644
index 0000000000..fbadb068b9
--- /dev/null
+++ b/dist/bignum/t/bninfnan.t
@@ -0,0 +1,39 @@
+#!/usr/bin/perl -w
+
+###############################################################################
+
+use Test;
+use strict;
+
+BEGIN
+ {
+ $| = 1;
+ my $location = $0; $location =~ s/bninfnan.t//i;
+ if ($ENV{PERL_CORE})
+ {
+ #@INC = qw(../lib ../lib/bignum/t); # testing with the core distribution
+ }
+ else
+ {
+ unshift @INC, '../lib'; # for testing manually
+ }
+ if (-d 't')
+ {
+ chdir 't';
+ require File::Spec;
+ unshift @INC, File::Spec->catdir(File::Spec->updir, $location);
+ }
+ else
+ {
+ unshift @INC, $location;
+ }
+ print "# INC = @INC\n";
+ plan tests => 26;
+ }
+
+use bignum;
+
+my ($x);
+
+require "infnan.inc";
+