diff options
Diffstat (limited to 'tests/misc/unexpand')
-rwxr-xr-x | tests/misc/unexpand | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/misc/unexpand b/tests/misc/unexpand index 3e3a3d17c..554d18cf5 100755 --- a/tests/misc/unexpand +++ b/tests/misc/unexpand @@ -18,6 +18,8 @@ use strict; +my $limits = getlimits (); + (my $program_name = $0) =~ s|.*/||; # Turn off localization of executable's output. @@ -76,7 +78,7 @@ my @Tests = # It is debatable whether this test should require an environment # setting of e.g., _POSIX2_VERSION=1. - ['obs-ovflo', '-18446744073709551617', {IN=>''}, {OUT=>''}, + ['obs-ovflo', "-$limits->{'UINTMAX_OFLOW'}", {IN=>''}, {OUT=>''}, {EXIT => 1}, {ERR => "$prog: tab stop value is too large\n"}], ); |