diff options
author | Zhangjin Wu <falcon@tinylab.org> | 2023-07-07 23:04:38 +0800 |
---|---|---|
committer | Willy Tarreau <w@1wt.eu> | 2023-08-23 04:38:02 +0200 |
commit | f193ecbff0effc06190036d92ec2fa582d9e6824 (patch) | |
tree | 461d628ba95313ebdb3821dec086878e0b2e1507 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 29f5540be3925d76ef6257d23b1782cdbf55c94f (diff) |
selftests/nolibc: add sbrk_0 to test current brk getting
>From musl 0.9.14 (to the latest version 1.2.3), both sbrk() and brk()
have almost been disabled for they conflict with malloc, only sbrk(0) is
still permitted as a way to get the current location of the program
break, let's support such case.
EXPECT_PTRNE() is used to expect sbrk() always successfully getting the
current break.
Signed-off-by: Zhangjin Wu <falcon@tinylab.org>
Signed-off-by: Willy Tarreau <w@1wt.eu>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions