☰
Debian Codegraph
@
2.4.0-3
/
/
debian
/
tests
/
less-than-five-percent-failures
☽
☼
debian/tests/less-than-five-percent-failures
code
plain
raw
Expat
2024, Georges Khaznadar <
[email protected]
>
debian/copyright
1
#! /bin/sh
2
3
jsdoc2 -T | tee /tmp/logfile
4
failures=$(grep "NOT OK " /tmp/logfile | wc -l)
5
tests=$(grep "... OK " /tmp/logfile | wc -l)
6
test 1 -eq $(echo "$failures < 0.05 * $tests" | bc)