From 5e10136b3ce5226bb6d55f5f14f74e65218750be Mon Sep 17 00:00:00 2001 From: Matthew Malcomson Date: Mon, 4 Feb 2019 13:06:15 +0100 Subject: [PATCH] testrun.sh: Exit in case of incorrect argument --- ChangeLog | 4 ++++ Makefile | 1 + 2 files changed, 5 insertions(+) diff --git a/ChangeLog b/ChangeLog index 0c9a4e885b..c074128b1b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2019-02-04 Matthew Malcomson + + * Makefile (testrun.sh): Exit in case of incorrect argument. + 2019-02-04 Florian Weimer * time/tzfile.c (__tzfile_read): Reorder suballocations to avoid diff --git a/Makefile b/Makefile index 4a014d6eff..1bfe7fefe1 100644 --- a/Makefile +++ b/Makefile @@ -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