about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2016-12-13 09:26:20 +0100
committerFlorian Weimer <fweimer@redhat.com>2016-12-13 09:26:20 +0100
commitf38aee21e21c91b9a7391c6b55d922eaab9e3735 (patch)
treef7655dec39e2033e0c5b21390eb45e3fcfd1182e
parent76dcbf42df83c970c13c786d287f1ec69e1b91eb (diff)
downloadglibc-f38aee21e21c91b9a7391c6b55d922eaab9e3735.tar.gz
glibc-f38aee21e21c91b9a7391c6b55d922eaab9e3735.tar.xz
glibc-f38aee21e21c91b9a7391c6b55d922eaab9e3735.zip
nptl/tst-cancel7: Add missing case label
The label was lost during the conversion to the new test framework
in commit c23de0aacbeaa7a091609b35764bed931475a16d, and the --command
option is currently unused.
-rw-r--r--ChangeLog4
-rw-r--r--nptl/tst-cancel7.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index f0fee26094..beb5b59d01 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2016-12-13  Florian Weimer  <fweimer@redhat.com>
 
+	* nptl/tst-cancel7.c (cmdline_process): Add missing case label.
+
+2016-12-13  Florian Weimer  <fweimer@redhat.com>
+
 	* Rules (binaries-shared-tests, binaries-pie-tests)
 	(binaries-static-tests): Link with $(link-extra-libs-tests).
 	* Makeconfig (+link-pie-tests, +link-static-tests, +link-tests):
diff --git a/nptl/tst-cancel7.c b/nptl/tst-cancel7.c
index 8eff3a8dac..e7e40ef0c4 100644
--- a/nptl/tst-cancel7.c
+++ b/nptl/tst-cancel7.c
@@ -194,6 +194,7 @@ cmdline_process (int c)
 {
   switch (c)
     {
+    case OPT_COMMAND:
       command = optarg;
       break;
     case OPT_PIDFILE: