Use PROGNAME for the tests script as well

This commit is contained in:
Pierre Pronchery 2015-05-10 23:54:13 +02:00
parent c50e97e364
commit a7924c86ec

View File

@ -17,6 +17,7 @@
#variables #variables
PROGNAME="tests.sh"
#executables #executables
DATE="date" DATE="date"
@ -66,7 +67,7 @@ _test()
#usage #usage
_usage() _usage()
{ {
echo "Usage: tests.sh [-c][-P prefix]" 1>&2 echo "Usage: $PROGNAME [-c][-P prefix]" 1>&2
return 1 return 1
} }