diff -rup lzlib-1.15-pre1/testsuite/check.sh lzlib-1.15-pre1-1/testsuite/check.sh --- lzlib-1.15-pre1/testsuite/check.sh 2024-01-20 20:59:28.000000000 +0000 +++ lzlib-1.15-pre1-1/testsuite/check.sh 2024-04-23 18:59:06.000000000 +0000 @@ -15,6 +15,15 @@ FFEXAMPLE="${objdir}"/ffexample LZCHECK="${objdir}"/lzcheck framework_failure() { echo "failure in testing framework" ; exit 1 ; } +if [ $# -eq 0 ]; then + echo "lzlib test suite" + echo "Usage:" + echo "$0 <\"pkgversion\">" + echo "Note: it's not meant to be run on it's own; use: make check" + exit 1 +fi + + if [ ! -f "${LZIP}" ] || [ ! -x "${LZIP}" ] ; then echo "${LZIP}: cannot execute" exit 1