Replace a seq invocation with a shell loop

seq is not portable.  Use a while loop instead to make the "dnssec"
system test script POSIX-compatible.

(cherry picked from commit c0c4c024)
80 jobs for !4311 with mnowak/enhanced-test-portability-v9_16 in 29 minutes and 20 seconds (queued for 8 seconds)
detached
Status Job ID Name Coverage
  Precheck
passed #1251315
amd64 linux
autoreconf

00:00:16

passed #1251317
amd64 linux
clang-format

00:00:18

passed #1251318
amd64 linux
coccinelle

00:03:36

passed #1251319
amd64 linux
danger

00:00:16

passed #1251316
amd64 linux
misc

00:00:14

 
  Build
passed #1251333
amd64 linux
clang:asan

00:03:51

passed #1251337
amd64 linux
clang:buster:amd64

00:02:03

passed #1251340
amd64 libvirt
clang:freebsd11:amd64

00:01:49

passed #1251341
amd64 libvirt
clang:freebsd12:amd64

00:01:45

passed #1251342
amd64 libvirt
clang:openbsd:amd64

00:03:46

passed #1251335
amd64 linux
clang:tsan

00:02:26

passed #1251320
amd64 linux
gcc:alpine3.12:amd64

00:01:56

passed #1251332
amd64 linux
gcc:asan

00:03:09

passed #1251325
amd64 linux
gcc:buster:amd64

00:01:48

passed #1251321
amd64 linux
gcc:centos6:amd64

00:01:30

passed #1251322
amd64 linux
gcc:centos7:amd64

00:01:34

passed #1251323
amd64 linux
gcc:centos8:amd64

00:01:43

passed #1251331
amd64 linux
gcc:focal:amd64

00:01:49

passed #1251336
amd64 linux
gcc:mutexatomics

00:02:01

passed #1251327
amd64 linux
gcc:out-of-tree

00:01:45

passed #1251326
amd64 linux
gcc:sid:amd64

00:02:23

passed #1251328
i386 linux
gcc:sid:i386

00:01:56

passed #1251338
amd64 linux
gcc:softhsm2.4

00:01:51

passed #1251339
amd64 linux
gcc:softhsm2.6

00:01:50

passed #1251324
amd64 linux
gcc:stretch:amd64

00:01:58

passed #1251334
amd64 linux
gcc:tsan

00:02:06

passed #1251329
amd64 linux
gcc:tumbleweed:amd64

00:01:49

passed #1251330
amd64 linux
gcc:xenial:amd64

00:01:54

passed #1251344
amd64 windows
msvc:windows:amd64

00:02:49

passed #1251343
amd64 linux
nolibtool:sid:amd64

00:02:18

 
  Unit
passed #1251357
amd64 linux
unit:clang:asan

00:00:52

passed #1251361
amd64 linux
unit:clang:buster:amd64

00:00:38

passed #1251364
amd64 libvirt
unit:clang:freebsd11:amd64

00:01:04

passed #1251365
amd64 libvirt
unit:clang:freebsd12:amd64

00:01:02

passed #1251359
amd64 linux
unit:clang:tsan

00:01:31

passed #1251345
amd64 linux
unit:gcc:alpine3.12:amd64

00:00:52

passed #1251356
amd64 linux
unit:gcc:asan

00:00:49

passed #1251350
amd64 linux
unit:gcc:buster:amd64

00:00:44

passed #1251346
amd64 linux
unit:gcc:centos6:amd64

00:00:36

passed #1251347
amd64 linux
unit:gcc:centos7:amd64

00:00:41

passed #1251348
amd64 linux
unit:gcc:centos8:amd64

00:00:43

passed #1251355
amd64 linux
unit:gcc:focal:amd64

00:00:46

passed #1251360
amd64 linux
unit:gcc:mutexatomics

00:00:35

passed #1251351
amd64 linux
unit:gcc:sid:amd64

00:00:36

passed #1251352
i386 linux
unit:gcc:sid:i386

00:00:43

passed #1251362
amd64 linux
unit:gcc:softhsm2.4

00:00:41

passed #1251363
amd64 linux
unit:gcc:softhsm2.6

00:00:44

passed #1251349
amd64 linux
unit:gcc:stretch:amd64

00:00:39

passed #1251358
amd64 linux
unit:gcc:tsan

00:01:46

passed #1251353
amd64 linux
unit:gcc:tumbleweed:amd64

00:00:41

passed #1251354
amd64 linux
unit:gcc:xenial:amd64

00:00:39

passed #1251366
amd64 linux
unit:nolibtool:sid:amd64

00:00:53

 
  System
passed #1251379
amd64 linux
system:clang:asan

00:12:20

passed #1251383
amd64 linux
system:clang:buster:amd64

00:10:49

passed #1251386
amd64 libvirt
system:clang:freebsd11:amd64

00:10:13

passed #1251387
amd64 libvirt
system:clang:freebsd12:amd64

00:10:03

passed #1251381
amd64 linux
system:clang:tsan

00:14:20

passed #1252236
linux amd64
system:gcc:alpine3.12:amd64

00:11:30

passed #1251378
amd64 linux
system:gcc:asan

00:12:52

passed #1251372
amd64 linux
system:gcc:buster:amd64

00:10:44

passed #1251368
amd64 linux
system:gcc:centos6:amd64

00:10:58

passed #1251369
amd64 linux
system:gcc:centos7:amd64

00:10:30

passed #1251370
amd64 linux
system:gcc:centos8:amd64

00:11:11

passed #1251377
amd64 linux
system:gcc:focal:amd64

00:11:04

passed #1251382
amd64 linux
system:gcc:mutexatomics

00:11:02

passed #1251373
amd64 linux
system:gcc:sid:amd64

00:10:17

passed #1251374
i386 linux
system:gcc:sid:i386

00:09:40

failed #1251384
amd64 linux
system:gcc:softhsm2.4

00:11:10

passed #1251385
amd64 linux
system:gcc:softhsm2.6

00:10:48

passed #1251371
amd64 linux
system:gcc:stretch:amd64

00:10:15

passed #1251380
amd64 linux
system:gcc:tsan

00:14:51

passed #1251375
amd64 linux
system:gcc:tumbleweed:amd64

00:10:38

failed #1251376
amd64 linux
system:gcc:xenial:amd64

00:09:49

passed #1251388
amd64 linux
system:nolibtool:sid:amd64

00:11:37

failed #1251367
amd64 linux
system:gcc:alpine3.12:amd64

01:00:02

 
  Docs
passed #1251389
amd64 linux
docs

00:02:19

 
  Postcheck
passed #1251393
amd64 linux
cppcheck

00:00:23

passed #1251390
amd64 linux
flake8

00:00:20

passed #1251391
amd64 linux
pylint

00:00:22

passed #1251392
amd64 linux
scan-build

00:08:44

 
Name Stage Failure
failed
system:gcc:softhsm2.4 System
I:The following system tests failed:
I: kasp
make: *** [Makefile:491: test] Error 1
Uploading artifacts for failed job
Uploading artifacts...
untracked: found 4473 files

Uploading artifacts as "archive" to coordinator... ok
id=1251384 responseStatus=201 Created token=SrpPeoZM
Cleaning up file based variables
ERROR: Job failed: exit code 1
failed
system:gcc:xenial:amd64 System
I:      kasp
make: *** [test] Error 1
Makefile:489: recipe for target 'test' failed
Uploading artifacts for failed job
Uploading artifacts...
untracked: found 4383 files

Uploading artifacts as "archive" to coordinator... ok
id=1251376 responseStatus=201 Created token=QfxVDLcx
Cleaning up file based variables
ERROR: Job failed: exit code 1