1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-08-07 06:43:00 +03:00

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>
This commit is contained in:
Florian Weimer
2024-06-27 16:26:56 +02:00
parent 783d4c0b81
commit 54252394c2
5 changed files with 200 additions and 1 deletions

View File

@@ -0,0 +1,4 @@
#define TEST_IDENTIFIER strncmp
#define TEST_NAME "strncmp"
typedef char CHAR;
#include "test-Xncmp-nonarray.c"