test: move the logic to support /skipped into shared logic
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 23 Apr 2021 08:55:49 +0000 (10:55 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 23 Apr 2021 13:12:35 +0000 (15:12 +0200)
commit7bf20e48bd7d641a39a14a7feb749b7e8b0fc0f6
tree692aeb6cc46e1e433ecdea951402eb47a16516a1
parent7b87fe4c30c3a5492ba409ebb13b1a5505c00a86
test: move the logic to support /skipped into shared logic

The logic to query test state was rather complex. I don't quite grok the point
of ret=$((ret+1))… But afaics, the precise result was always ignored by the
caller anyway.
test/TEST-02-UNITTESTS/test.sh
test/TEST-24-CRYPTSETUP/test.sh
test/TEST-55-OOMD/test.sh
test/test-functions