/usr/bin/asterisk-tests-run is in asterisk-testsuite 0.0.0+svn.5781-2.
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 15 16 17 18 19 20 | #!/bin/sh
# Run the asterisk testsuite. Should probably be run by root
# use --help to get the usage message of runtests.py. Without any
# options runs all tests. -l will list tests. -t can select one specific
# test.
out_dir="/var/lib/asterisk-testsuite"
results="$out_dir/asterisk-test-suite-report.xml"
cd /usr/share/asterisk-testsuite
./runtests.py -o "$out_dir" "$@"
# Now, check the results file
# list of failed tests:
#grep '<failure>Running' $results | sed -e "s|^.*'tests/|'tests/|" | cut -d"'" -f2
# Summary:
#sed -n 2p $results
|