#
# Only check that we logged the right number of messages; don't care
# about ordering or mistakes in wrong message-id
sudo perl
system "egrep -v '(Completed|<=|=>|is locked)' DIR/spool/log/mainlog 1>&2";
system "awk '/OK id=/{i++} END{print i, \"messages in\"}' DIR/test-stdout 1>&2";
#
# Only check that we logged the right number of messages; don't care
# about ordering or mistakes in wrong message-id
sudo perl
system "egrep -v '(Completed|<=|=>|is locked)' DIR/spool/log/mainlog 1>&2";
system "awk '/OK id=/{i++} END{print i, \"messages in\"}' DIR/test-stdout 1>&2";