stdlib/test-bz22786: Avoid spurious test failures using alias mappings
authorFlorian Weimer <fweimer@redhat.com>
Tue, 30 Oct 2018 12:11:47 +0000 (13:11 +0100)
committerFlorian Weimer <fweimer@redhat.com>
Tue, 30 Oct 2018 12:17:36 +0000 (13:17 +0100)
commitf5e7e95921847bd83186bfe621fc2b48c4de5477
treed1750c3c4bff6622fef0599b3f38b1e5efdae558
parent2dd12baa045f25c52b30a34b10f72d51f2605413
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.
ChangeLog
stdlib/test-bz22786.c
support/Makefile
support/blob_repeat.c [new file with mode: 0644]
support/blob_repeat.h [new file with mode: 0644]
support/tst-support_blob_repeat.c [new file with mode: 0644]