/usr/share/pacemaker/tests/coverage.sh is in pacemaker-dev 1.1.6-2ubuntu3.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | #!/bin/bash
export GCOV_PREFIX_STRIP=4
export GCOV_PREFIX=/var/lib/pacemaker/gcov/
lcov -d $GCOV_PREFIX -z
/usr/share/pacemaker/tests/pengine/regression.sh
/usr/share/pacemaker/tests/cli/regression.sh
lcov -d $GCOV_PREFIX -c -o pacemaker.info
mkdir html
genhtml -o html pacemaker.info
|