summaryrefslogtreecommitdiff
path: root/test/scripts/0000-Basic
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2016-08-19 15:52:18 +0100
committerJeremy Harris <jgh146exb@wizmail.org>2016-08-19 15:52:18 +0100
commit936bbfed7b58ab84ad892cf9872b8056f44f13bf (patch)
tree4aed66c7cae909d5d84b04f1030dd9bcdec35afd /test/scripts/0000-Basic
parente3b1f624c34b1345747184f4aa7bb9aca375600b (diff)
Testsuite: rework timing of time-dependent testcase
Diffstat (limited to 'test/scripts/0000-Basic')
-rw-r--r--test/scripts/0000-Basic/020620
1 files changed, 5 insertions, 15 deletions
diff --git a/test/scripts/0000-Basic/0206 b/test/scripts/0000-Basic/0206
index e54e25260..64afd8014 100644
--- a/test/scripts/0000-Basic/0206
+++ b/test/scripts/0000-Basic/0206
@@ -1,26 +1,16 @@
# timeout_frozen_after with ignore_bounce_errors_after
-exim -z 'fire in 2-rcpt message'
-****
sudo exim -odi -f unknown@test.ex nonexist@test.ex freeze@test.ex
****
-exim -z 'pause 1'
-****
-sleep 1
-exim -z 'freeze 1st spooled msg'
-****
+# that gave us a frozen bounce, and a deferred message (with one undelivered addr)
sudo exim -Mf $msg1
****
-exim -z 'run queue'
-****
+# now 2 frozen, one of which is a bounce
+# check that ignore_bounce_errors_after finishes off the frozen bounce (only)
+millisleep 2500
exim -qf
****
-exim -z 'pause 3'
-****
sleep 3
-exim -z 'run queue'
-****
+# check that timeout_frozen_after finishes off the (remaining) frozen
exim -q
****
-exim -z 'finished'
-****
no_msglog_check