[PATCH 0/2] Adapt to glibc qsort() turned unstable

Michal Privoznik posted 2 patches 5 months, 1 week ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/cover.1700650037.git.mprivozn@redhat.com
tests/meson.build                |  1 +
tests/nwfilterxml2firewalltest.c |  4 ++-
tests/virqsortmock.c             | 58 ++++++++++++++++++++++++++++++++
3 files changed, 62 insertions(+), 1 deletion(-)
create mode 100644 tests/virqsortmock.c
[PATCH 0/2] Adapt to glibc qsort() turned unstable
Posted by Michal Privoznik 5 months, 1 week ago
glibc reworked qsort() which now uses an unstable sorting algorithm.
This is causing issues to our tests (see broken pipeline for rawhide).

Green pipeline:

https://gitlab.com/MichalPrivoznik/libvirt/-/pipelines/1081297468

Michal Prívozník (2):
  tests: Introduce virqsortmock
  nwfilterxml2firewalltest: Use virqsortmock for stable sorting

 tests/meson.build                |  1 +
 tests/nwfilterxml2firewalltest.c |  4 ++-
 tests/virqsortmock.c             | 58 ++++++++++++++++++++++++++++++++
 3 files changed, 62 insertions(+), 1 deletion(-)
 create mode 100644 tests/virqsortmock.c

-- 
2.41.0
_______________________________________________
Devel mailing list -- devel@lists.libvirt.org
To unsubscribe send an email to devel-leave@lists.libvirt.org