diff options
author | Jeremy Harris <jgh146exb@wizmail.org> | 2020-03-14 16:50:28 +0000 |
---|---|---|
committer | Jeremy Harris <jgh146exb@wizmail.org> | 2020-03-14 16:50:28 +0000 |
commit | 48a74eea95b1bd7e69151d4f4122868a777a18a6 (patch) | |
tree | 710e7646d148a83633f1d888096b0f142e20ff33 /test/scripts/0999-EXP-Queue-Ramp | |
parent | 2634320751a5f719abf2daa5e279aeeef03cdf7f (diff) |
Testtsuite: portability
Diffstat (limited to 'test/scripts/0999-EXP-Queue-Ramp')
-rw-r--r-- | test/scripts/0999-EXP-Queue-Ramp/0999 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/scripts/0999-EXP-Queue-Ramp/0999 b/test/scripts/0999-EXP-Queue-Ramp/0999 index dc60dfa6a..688c24cf8 100644 --- a/test/scripts/0999-EXP-Queue-Ramp/0999 +++ b/test/scripts/0999-EXP-Queue-Ramp/0999 @@ -676,8 +676,9 @@ killdaemon # about ordering or mistakes in wrong message-id sudo perl system "egrep -v '(Completed|<=|=>|is locked)' DIR/spool/log/mainlog 1>&2"; -system "wc -l DIR/test-stdout 1>&2"; +system "awk '/OK id=/{i++} END{print i, \"messages in\"}' DIR/test-stdout 1>&2"; system "grep -q '=>' DIR/spool/log/servermainlog && echo 'daemon did make at least one delivery' 1>&2"; +system "awk '/<=/{i++} END{print i, \"messages received by dest\"}' DIR/spool/log/servermainlog 1>&2"; **** sudo rm DIR/spool/log/mainlog DIR/spool/log/servermainlog no_stdout_check |