summaryrefslogtreecommitdiffstats
path: root/test/TEST-24-CRYPTSETUP/test.sh
diff options
context:
space:
mode:
authorFrantisek Sumsal <frantisek@sumsal.cz>2021-10-20 13:00:37 +0200
committerLuca Boccassi <luca.boccassi@gmail.com>2021-10-20 17:46:58 +0200
commit0b5fe54ff5c35849316b916bd9dc042a7a2349e1 (patch)
treebeb0405082c118ae368d27b749f1844243e570bb /test/TEST-24-CRYPTSETUP/test.sh
parentzsh-completion: nspawn: add --suppress-sync option (diff)
downloadsystemd-0b5fe54ff5c35849316b916bd9dc042a7a2349e1.tar.xz
systemd-0b5fe54ff5c35849316b916bd9dc042a7a2349e1.zip
test: collect coverage in a couple more codepaths
Otherwise we'd miss coverage from TEST-{02,24,61}, since they don't go through the "standard" `check_result_common` hook. Follow-up to 7bf20e48bd7d641a39a14a7feb749b7e8b0fc0f6.
Diffstat (limited to 'test/TEST-24-CRYPTSETUP/test.sh')
-rwxr-xr-xtest/TEST-24-CRYPTSETUP/test.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/TEST-24-CRYPTSETUP/test.sh b/test/TEST-24-CRYPTSETUP/test.sh
index 2dd0d4ca7f..68a54924a4 100755
--- a/test/TEST-24-CRYPTSETUP/test.sh
+++ b/test/TEST-24-CRYPTSETUP/test.sh
@@ -28,6 +28,7 @@ check_result_qemu() {
echo "${JOURNAL_LIST:-No journals were saved}"
test -s "$TESTDIR/failed" && ret=1
+ check_coverage_reports "${initdir:?}" || ret=5
return $ret
}