]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
testrun.sh: Exit in case of incorrect argument
authorMatthew Malcomson <matthew.malcomson@arm.com>
Mon, 4 Feb 2019 12:06:15 +0000 (13:06 +0100)
committerFlorian Weimer <fweimer@redhat.com>
Mon, 4 Feb 2019 12:06:15 +0000 (13:06 +0100)
ChangeLog
Makefile

index 0c9a4e885bc90dc7e2badc7512387c6fde890015..c074128b1b653077fe3853e18e9ba020ddc61d6f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
index 4a014d6effdecde830369c69913e08c04e48eb8f..1bfe7fefe1a00bab1d3c7a7ba5080983097edc8e 100644 (file)
--- 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