]> git.pond.sub.org Git - empserver/commit
tests: Fix normalization of nat_timeused in prompt in journal
authorMarkus Armbruster <armbru@pond.sub.org>
Sat, 11 Jan 2014 11:29:07 +0000 (12:29 +0100)
committerMarkus Armbruster <armbru@pond.sub.org>
Sun, 19 Jan 2014 09:09:16 +0000 (10:09 +0100)
commit48ee722a48ff8df353cf624621fe150edf5b6c45
treeb0c22797f557c8191258510c65b4f14dd6907e72
parent4ed56948147d5cae1a050323f1972bd0a3b1e5f6
tests: Fix normalization of nat_timeused in prompt in journal

Command prompts show nat_timeused rounded down to minutes.  They need
to be normalized, or else tests can fail when they take too long, or
cross midnight.  Formatted prompts are normalized correctly (not
actually used since commit 9ca3fa9), but the journal contains raw
prompts.  Normalize them, too.

Smoke test's journal.log is affected, because the server charges at
least 15s per login, which adds up into minutes in this test.

Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
tests/normalize.pl
tests/smoke/journal.log