testrun.sh: Exit in case of incorrect argument

This commit is contained in:
Matthew Malcomson 2019-02-04 13:06:15 +01:00 committed by Florian Weimer
parent 221baae001
commit 5e10136b3c
2 changed files with 5 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2019-02-04 Matthew Malcomson <matthew.malcomson@arm.com>
* Makefile (testrun.sh): Exit in case of incorrect argument.
2019-02-04 Florian Weimer <fweimer@redhat.com>
* time/tzfile.c (__tzfile_read): Reorder suballocations to avoid

View File

@ -137,6 +137,7 @@ GCONV_PATH="$${builddir}/iconvdata"
usage () {
echo "usage: $$0 [--tool=strace] PROGRAM [ARGUMENTS...]" 2>&1
echo " $$0 --tool=valgrind PROGRAM [ARGUMENTS...]" 2>&1
exit 1
}
toolname=default