about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2024-08-07 14:59:08 +0200
committerFlorian Weimer <fweimer@redhat.com>2024-08-07 15:00:25 +0200
commitd5ce0e960dea325ccf12769681d5ce45f7b7411d (patch)
tree2f528ed31d92f78ea768e586b9e75a9777ffbe1b
parent07972839108495245d8b93ca546462b3f4dad47f (diff)
downloadglibc-d5ce0e960dea325ccf12769681d5ce45f7b7411d.tar.gz
glibc-d5ce0e960dea325ccf12769681d5ce45f7b7411d.tar.xz
glibc-d5ce0e960dea325ccf12769681d5ce45f7b7411d.zip
nss: Fix incorrect switch fall-through in tst-nss-gai-actions
This only happened on test failure.

Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>
-rw-r--r--nss/tst-nss-gai-actions.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/nss/tst-nss-gai-actions.c b/nss/tst-nss-gai-actions.c
index efca6cd183..e42bbd6cae 100644
--- a/nss/tst-nss-gai-actions.c
+++ b/nss/tst-nss-gai-actions.c
@@ -92,6 +92,7 @@ do_one_test (int action, int family, bool canon)
 	  printf ("merge unexpectedly succeeded:\n %s\n", formatted);
 	  support_record_failure ();
 	  free (formatted);
+	  break;
 	}
       else
 	return;