diff options
author | Florian Weimer <fweimer@redhat.com> | 2018-10-30 13:11:47 +0100 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2018-10-30 13:17:36 +0100 |
commit | f5e7e95921847bd83186bfe621fc2b48c4de5477 (patch) | |
tree | d1750c3c4bff6622fef0599b3f38b1e5efdae558 /ChangeLog | |
parent | 2dd12baa045f25c52b30a34b10f72d51f2605413 (diff) | |
download | glibc-f5e7e95921847bd83186bfe621fc2b48c4de5477.tar glibc-f5e7e95921847bd83186bfe621fc2b48c4de5477.tar.gz glibc-f5e7e95921847bd83186bfe621fc2b48c4de5477.tar.bz2 glibc-f5e7e95921847bd83186bfe621fc2b48c4de5477.zip |
stdlib/test-bz22786: Avoid spurious test failures using alias mappings
On systems without enough random-access memory, stdlib/test-bz22786
will go deeply into swap and time out, even with a substantial
TIMEOUTFACTOR. This commit adds a facility to construct repeating
strings with alias mappings, so that the requirement for physical
memory, and uses it in stdlib/test-bz22786.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -1,3 +1,14 @@ +2018-10-30 Florian Weimer <fweimer@redhat.com> + + Avoid spurious test failures in stdlib/test-bz22786. + * support/Makefile (libsupport-routines): Add blob_repeat. + (tests): Add tst-support_blob_repeat. + * support/blob_repeat.h: New file. + * support/blob_repeat.c: Likewise. + * support/tst-support_blob_repeat.c: Likewise. + * stdlib/test-bz22786.c (do_test): Replace malloc and memset with + support_blob_repeat_allocate. + 2018-10-30 Andreas Schwab <schwab@suse.de> [BZ #23125] |