aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Malcomson <matthew.malcomson@arm.com>2019-02-04 13:06:15 +0100
committerFlorian Weimer <fweimer@redhat.com>2019-02-04 13:06:15 +0100
commit5e10136b3ce5226bb6d55f5f14f74e65218750be (patch)
tree52a26f1bea4d1a4274d7814d263c5b1c2d3879bd
parent221baae0012e56e4043b914fec47340ef3a1e0c8 (diff)
downloadglibc-5e10136b3ce5226bb6d55f5f14f74e65218750be.tar
glibc-5e10136b3ce5226bb6d55f5f14f74e65218750be.tar.gz
glibc-5e10136b3ce5226bb6d55f5f14f74e65218750be.tar.bz2
glibc-5e10136b3ce5226bb6d55f5f14f74e65218750be.zip
testrun.sh: Exit in case of incorrect argument
-rw-r--r--ChangeLog4
-rw-r--r--Makefile1
2 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 0c9a4e885b..c074128b1b 100644
--- 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
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