diff options
author | John Jetmore <jj33@pobox.com> | 2010-06-14 20:30:12 +0000 |
---|---|---|
committer | John Jetmore <jj33@pobox.com> | 2010-06-14 20:30:12 +0000 |
commit | e1b3d58d3359cdbb67d37cd4222ff9dcb7b7da0e (patch) | |
tree | 0ce3af66671269938d0203cac2aaa995a6631ec3 /test | |
parent | a9622bc619b4929c873bb6929fcbdf1fd1f4ffec (diff) |
print sizeof(off_t) in initial -bV output. Refuse to tun tests is sizeof(off_t) > 32.
Diffstat (limited to 'test')
-rwxr-xr-x | test/runtest | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/runtest b/test/runtest index 8a2b1d32b..43b35904e 100755 --- a/test/runtest +++ b/test/runtest @@ -1,6 +1,6 @@ #! /usr/bin/perl -w -# $Cambridge: exim/test/runtest,v 1.36 2010/06/05 02:25:16 jetmore Exp $ +# $Cambridge: exim/test/runtest,v 1.37 2010/06/14 20:30:12 jetmore Exp $ ############################################################################### # This is the controlling script for the "new" test suite for Exim. It should # @@ -2038,7 +2038,10 @@ while (<EXIMINFO>) elsif (/^Size of off_t: (\d+)/) { + print; $have_largefiles = 1 if $1 > 4; + die "** Size of off_t > 32 which seems improbable, not running tests\n" + if ($1 > 32); } elsif (/^Support for: (.*)/) |