]> 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 19:25:46 +0000 (21:25 +0200)
commitfdd926d7cbca53ae91ae2f83ec5690eb2be2ea23
tree1cf588bafe86531d104edee932b139e51788d103
parent149ffc529d32c520ed22505ccb3bc4682996b22f
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