aboutsummaryrefslogtreecommitdiff
path: root/string/test-strnlen-nonarray.c
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2024-06-26 11:27:54 +0200
committerFlorian Weimer <fweimer@redhat.com>2024-08-01 09:07:34 +0200
commit783d4c0b81889c39a9ddf13b60d0fde4040fb1c0 (patch)
treee676c2383b3b57d4acbf92d728a36b96038baf8b /string/test-strnlen-nonarray.c
parente3b0b3484cac61f9eae373751ac6eaf816a2c9c3 (diff)
downloadglibc-783d4c0b81889c39a9ddf13b60d0fde4040fb1c0.tar.xz
glibc-783d4c0b81889c39a9ddf13b60d0fde4040fb1c0.zip
Enhance test coverage for strnlen, wcsnlen
This commit adds string/test-strnlen-nonarray and wcsmbs/test-wcsnlen-nonarray. Reviewed-by: Noah Goldstein <goldstein.w.n@gmail.com>
Diffstat (limited to 'string/test-strnlen-nonarray.c')
-rw-r--r--string/test-strnlen-nonarray.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/string/test-strnlen-nonarray.c b/string/test-strnlen-nonarray.c
new file mode 100644
index 0000000000..0ad05756d9
--- /dev/null
+++ b/string/test-strnlen-nonarray.c
@@ -0,0 +1,4 @@
+#define TEST_IDENTIFIER strnlen
+#define TEST_NAME "strnlen"
+typedef char CHAR;
+#include "test-Xnlen-nonarray.c"