diff options
author | Philip Hazel <ph10@hermes.cam.ac.uk> | 2006-02-16 14:54:15 +0000 |
---|---|---|
committer | Philip Hazel <ph10@hermes.cam.ac.uk> | 2006-02-16 14:54:15 +0000 |
commit | 145396a644de3d31ed90104fd29bcd795e9ccad1 (patch) | |
tree | c0215c0d2bb14904303d1caae2cc9cc06c15fb20 /test | |
parent | 11b3bc4dfd112747273573c2e895021398959d23 (diff) |
Panic-die if .include specifies a non-absolute path.
Diffstat (limited to 'test')
-rw-r--r-- | test/confs/0290 | 3 | ||||
-rw-r--r-- | test/paniclog/0290 | 2 | ||||
-rw-r--r-- | test/scripts/0000-Basic/0290 | 3 | ||||
-rw-r--r-- | test/stderr/0290 | 3 |
4 files changed, 10 insertions, 1 deletions
diff --git a/test/confs/0290 b/test/confs/0290 index 312aacd9b..929a90740 100644 --- a/test/confs/0290 +++ b/test/confs/0290 @@ -4,6 +4,7 @@ FOOBAR= FOO=inc1 BAR=.include "DIR/aux-fixed/TESTNUM.inc2" RT = receive_timeout = 1s +INC= C1=# C2=# @@ -22,8 +23,8 @@ trusted_users = CALLER # ----- Main settings ----- FOOBAR .include DIR/aux-fixed/TESTNUM.FOO - RT +INC remote_sort_domains = a:b:c diff --git a/test/paniclog/0290 b/test/paniclog/0290 new file mode 100644 index 000000000..24b6854cc --- /dev/null +++ b/test/paniclog/0290 @@ -0,0 +1,2 @@ +1999-03-02 09:44:33 Exim configuration error in line 27 of TESTSUITE/test-config: + .include specifies a non-absolute path "non/absolute" diff --git a/test/scripts/0000-Basic/0290 b/test/scripts/0000-Basic/0290 index 48907f4fc..f2d69e1d0 100644 --- a/test/scripts/0000-Basic/0290 +++ b/test/scripts/0000-Basic/0290 @@ -7,3 +7,6 @@ exim -DRT -bP receive_timeout **** exim '-D RT = receive_timeout = 4s ' -bP receive_timeout **** +1 +exim -DINC='.include non/absolute' -bP receive_timeout +**** diff --git a/test/stderr/0290 b/test/stderr/0290 new file mode 100644 index 000000000..cd1712e9f --- /dev/null +++ b/test/stderr/0290 @@ -0,0 +1,3 @@ +LOG: PANIC DIE + Exim configuration error in line 27 of TESTSUITE/test-config: + .include specifies a non-absolute path "non/absolute" |