diff options
| author | 2023-07-07 23:03:26 +0800 | |
|---|---|---|
| committer | 2023-08-23 04:38:02 +0200 | |
| commit | 29f5540be3925d76ef6257d23b1782cdbf55c94f (patch) | |
| tree | 6ff997ad0176aa8320fbf01e3ea075c668afbda5 /scripts/Makefile.thinlto | |
| parent | selftests/nolibc: prepare: create /dev/zero (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 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
