Hi Teo,
As discussed offline, I have made minor modification to [PATCH v5 2/2], changing lines : tst_brk(TCONF, "Cannot test brk in purecap: syscall disabled."); into: tst_brk(TCONF, "Cannot test brk in purecap: syscall not implemented.");
The series has now been merged with the above mentioned changes into morello/next.
Thanks.
--- BR B.
On Thu, Nov 24, 2022 at 10:41:59AM +0000, Teo Couprie Diaz wrote:
This series updates the brk LTP tests to use direct syscalls which makes the compat tests pass on our musl-based distribution.
Add a simple sanity check for purecap that checks for ENOSYS and fails otherwise. Deactivate brk02 in purecap as it cannot be completed.
checkpatch complains about using ENOSYS but brk should not be implemented in purecap, so this is expected.
Branch for review : review/teo/brk-fixes-v5 https://git.morello-project.org/Teo-CD/morello-linux-ltp/-/commits/review/te...
v2: Better descriptions, switched to direct syscall and not checking for EINTR. v3: Fix tst_syscall return type and use it again for brk. v4: Check if enabled in brk01 _and_ brk02 via setup, unify types, commit message improvements. v5: Commit message improvements.
Teo Couprie Diaz (2): syscalls/brk: use direct syscall syscalls/brk: add a sanity check for purecap
runtest/morello_transitional_extended | 3 +++ testcases/kernel/syscalls/brk/brk01.c | 23 +++++++++++++++-------- testcases/kernel/syscalls/brk/brk02.c | 24 ++++++++++++++++-------- 3 files changed, 34 insertions(+), 16 deletions(-)
base-commit: fa9f8b217b1f298a10e8cc3e825db8e2aaf82ea2
2.25.1
linux-morello-ltp mailing list -- linux-morello-ltp@op-lists.linaro.org To unsubscribe send an email to linux-morello-ltp-leave@op-lists.linaro.org