glibc/string/test-strncmp-nonarray.c
Florian Weimer 46f19b2342 Enhanced test coverage for strncmp, wcsncmp
Add string/test-strncmp-nonarray and
wcsmbs/test-wcsncmp-nonarray.

This is the test that uncovered bug 31934.  Test run time
is more than one minute on a fairly current system, so turn
these into xtests that do not run automatically.

Reviewed-by: Noah Goldstein <goldstein.w.n@gmail.com>
(cherry picked from commit 54252394c2)
2024-08-01 09:20:12 +02:00

5 lines
112 B
C

#define TEST_IDENTIFIER strncmp
#define TEST_NAME "strncmp"
typedef char CHAR;
#include "test-Xncmp-nonarray.c"