about summary refs log tree commit diff
path: root/sysdeps/generic
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2023-10-03 09:22:51 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2023-10-31 14:18:07 -0300
commitbc888a3976700a3607f6ec4a36dbf3030161cb3e (patch)
tree986423916ac28c61017511b5a89b8ebe3b28d90c /sysdeps/generic
parent03bf8357e8291857a435afcc3048e0b697b6cc04 (diff)
downloadglibc-bc888a3976700a3607f6ec4a36dbf3030161cb3e.tar.gz
glibc-bc888a3976700a3607f6ec4a36dbf3030161cb3e.tar.xz
glibc-bc888a3976700a3607f6ec4a36dbf3030161cb3e.zip
stdlib: Add more qsort{_r} coverage
This patch adds a qsort and qsort_r to trigger the worst case
scenario for the quicksort (which glibc current lacks coverage).
The test is done with random input, dfferent internal types (uint8_t,
uint16_t, uint32_t, uint64_t, large size), and with
different set of element numbers.

Checked on x86_64-linux-gnu and i686-linux-gnu.
Reviewed-by: Noah Goldstein <goldstein.w.n@gmail.com>
Diffstat (limited to 'sysdeps/generic')
0 files changed, 0 insertions, 0 deletions