[exim-cvs] Testsuite: adjust for 64b-int compatability

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Exim Git Commits Mailing List
Dátum:  
Címzett: exim-cvs
Tárgy: [exim-cvs] Testsuite: adjust for 64b-int compatability
Gitweb: https://git.exim.org/exim.git/commitdiff/7df6163adc1837c48842471307ecb18aaded4530
Commit:     7df6163adc1837c48842471307ecb18aaded4530
Parent:     548b76ed9d29909e67cc76449956f1d5f870bfc4
Author:     Jeremy Harris <jgh146exb@???>
AuthorDate: Tue Oct 30 18:43:34 2018 +0000
Committer:  Jeremy Harris <jgh146exb@???>
CommitDate: Tue Oct 30 18:43:34 2018 +0000


    Testsuite: adjust for 64b-int compatability
---
 test/paniclog/0415           | 4 +---
 test/scripts/0000-Basic/0415 | 5 ++---
 test/stderr/0415             | 5 +----
 test/stdout/0415             | 1 +
 4 files changed, 5 insertions(+), 10 deletions(-)


diff --git a/test/paniclog/0415 b/test/paniclog/0415
index e0fbded..68a0f44 100644
--- a/test/paniclog/0415
+++ b/test/paniclog/0415
@@ -3,9 +3,7 @@
1999-03-02 09:44:33 Exim configuration error in line 15 of TESTSUITE/test-config:
extra characters follow integer value for check_spool_space
1999-03-02 09:44:33 Exim configuration error in line 16 of TESTSUITE/test-config:
- integer "4000000000.123" is too large (overflow)
-1999-03-02 09:44:33 Exim configuration error in line 16 of TESTSUITE/test-config:
- integer "4000000.123" is too large (overflow)
+ integer "4000000000000000.123" is too large (overflow)
1999-03-02 09:44:33 Exim configuration error in line 18 of TESTSUITE/test-config:
absolute value of integer "999999999999999999" is too large (overflow)
1999-03-02 09:44:33 Exim configuration error in line 18 of TESTSUITE/test-config:
diff --git a/test/scripts/0000-Basic/0415 b/test/scripts/0000-Basic/0415
index 043258f..09f582b 100644
--- a/test/scripts/0000-Basic/0415
+++ b/test/scripts/0000-Basic/0415
@@ -8,10 +8,9 @@ exim -DARG1=4000G -bP check_spool_space
exim -DARG1=40MK -bP check_spool_space
****
1
-exim -DARG2=4000000000.123 -bP queue_only_load
+exim -DARG2=4000000000000000.123 -bP queue_only_load
****
-1
-exim -DARG2=4000000.123 -bP queue_only_load
+exim -DARG2=2000000.123 -bP queue_only_load
****
exim -bP finduser_retries
****
diff --git a/test/stderr/0415 b/test/stderr/0415
index 55cc46f..4292620 100644
--- a/test/stderr/0415
+++ b/test/stderr/0415
@@ -6,10 +6,7 @@ LOG: PANIC DIE
extra characters follow integer value for check_spool_space
LOG: PANIC DIE
Exim configuration error in line 16 of TESTSUITE/test-config:
- integer "4000000000.123" is too large (overflow)
-LOG: PANIC DIE
- Exim configuration error in line 16 of TESTSUITE/test-config:
- integer "4000000.123" is too large (overflow)
+ integer "4000000000000000.123" is too large (overflow)
LOG: PANIC DIE
Exim configuration error in line 18 of TESTSUITE/test-config:
absolute value of integer "999999999999999999" is too large (overflow)
diff --git a/test/stdout/0415 b/test/stdout/0415
index 0dfbae8..7215cca 100644
--- a/test/stdout/0415
+++ b/test/stdout/0415
@@ -1,4 +1,5 @@
check_spool_space = 4096000G
+queue_only_load = 2000000.123
finduser_retries = 0
finduser_retries = 999999999
finduser_retries = 1023998976