/usr/lib/kannel/checks/check_headers.sh is in kannel-extras 1.4.4-4.
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 21 | #!/bin/sh
#
# Use `test/test_headers' to test gw/wsp_headers.c
set -e
#set -x
loglevel=1
test/test_headers -v $loglevel test/header_test > check_headers.log 2>&1
ret=$?
if [ "$ret" != 0 ] || \
grep ERROR: check_headers.log > /dev/null
then
echo check_headers failed 1>&2
echo See check_headers.log or run test/test_headers for info 1>&2
exit 1
fi
rm -f check_headers.log
|