POSIX compatibility fixes to system test
OpenBSD does not have seq
(https://gitlab.isc.org/isc-projects/bind9/-/jobs/1250891#L5925) and NetBSD sh
does not know about ==
string comparison. Neither seq
nor ==
seems to be POSIX compliant and should not be used in system test.