summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authormzuenni <michi.zuendorf@gmail.com>2024-09-13 15:35:02 +0200
committermzuenni <michi.zuendorf@gmail.com>2024-09-13 15:35:02 +0200
commit982a18ebede4d2e8373b22ee43ffc8a5bf8592a1 (patch)
tree783d2424f0baa64090f722911cd6bd9dd6518ee3 /test
parent4ed01d917a1103a225c27467d6332e770bc45d8e (diff)
test
Diffstat (limited to 'test')
-rwxr-xr-xtest/test.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test.sh b/test/test.sh
index 68a6370..6609f1a 100755
--- a/test/test.sh
+++ b/test/test.sh
@@ -64,7 +64,7 @@ list_missing() {
if [[ -v $1 ]]; then
covered=$((total-missing))
coverage=$((100*covered/total))
- echo "COVERAGE=$coverage"
+ echo "REQUIRED=$(( total < 4 ? 0 : total - 4 ))"
echo "TOTAL=$total"
echo "COVERED=$covered"
echo "MISSING=$missing"