summaryrefslogtreecommitdiff
path: root/tests/misc/sort-merge
diff options
context:
space:
mode:
Diffstat (limited to 'tests/misc/sort-merge')
-rwxr-xr-xtests/misc/sort-merge5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/misc/sort-merge b/tests/misc/sort-merge
index 6b8192610..e360d1c8b 100755
--- a/tests/misc/sort-merge
+++ b/tests/misc/sort-merge
@@ -18,6 +18,8 @@
use strict;
+my $limits = getlimits ();
+
(my $program_name = $0) =~ s|.*/||;
my $prog = 'sort';
@@ -32,8 +34,7 @@ my $big_input = "aaa\n" x 1024;
# don't need to check for existence, since we're running in a temp dir
my $badtmp = 'does/not/exist';
-# 2^64+1
-my $bigint = "18446744073709551617";
+my $bigint = $limits->{'UINTMAX_OFLOW'};
my @Tests =
(