diff options
author | Zhangjin Wu <falcon@tinylab.org> | 2023-07-07 23:03:26 +0800 |
---|---|---|
committer | Willy Tarreau <w@1wt.eu> | 2023-08-23 04:38:02 +0200 |
commit | 29f5540be3925d76ef6257d23b1782cdbf55c94f (patch) | |
tree | 6ff997ad0176aa8320fbf01e3ea075c668afbda5 /tools/perf/scripts/python | |
parent | 82e339c23036d0abefa7ef68d8fb134b0a7f14f4 (diff) |
selftests/nolibc: add EXPECT_PTREQ, EXPECT_PTRNE and EXPECT_PTRER
The syscalls like sbrk() and mmap() return pointers, to test them, more
pointer compare test macros are required, add them:
- EXPECT_PTREQ() expects two equal pointers.
- EXPECT_PTRNE() expects two non-equal pointers.
- EXPECT_PTRER() expects failure with a specified errno.
- EXPECT_PTRER2() expects failure with one of two specified errnos.
Signed-off-by: Zhangjin Wu <falcon@tinylab.org>
Signed-off-by: Willy Tarreau <w@1wt.eu>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions