]> git.ipfire.org Git - thirdparty/bind9.git/commit
Make "autosign" system test work with BusyBox awk
authorMichał Kępień <michal@isc.org>
Tue, 30 Jul 2019 19:08:40 +0000 (21:08 +0200)
committerMichał Kępień <michal@isc.org>
Tue, 30 Jul 2019 20:22:28 +0000 (22:22 +0200)
commit566f76b1fe924ca4d98bbc7b370455e24514630b
tree6d0754fecdc0b34c6df0d23d0086fcff0f49e4f2
parent4e266a810eb62714437554f13753786c7790c4b9
Make "autosign" system test work with BusyBox awk

The BusyBox version of awk treats some variables which other awk
implementations consider to be decimal values as octal values.  This
intermittently breaks key event interval calculations in the "autosign"
system test, trigger false positives for it.  Prevent the problem from
happening by stripping leading zeros from the affected awk variables.

(cherry picked from commit ad008f7dbfe1861d8b67cd223b30c8d602991f22)
bin/tests/system/autosign/tests.sh