git: testcases/libnvmm: Improve error handling of IO/memory callbacks
Aaron LI
aly at crater.dragonflybsd.org
Sun Aug 16 22:26:13 PDT 2026
commit 18e8b2069e299430bf9319209a07a7c651d56c2f
Author: Aaron LI <aly at aaronly.me>
Date: Mon Aug 17 13:22:57 2026 +0800
testcases/libnvmm: Improve error handling of IO/memory callbacks
Don't simply abort the program in case of nvmm_assist_{io,mem}() errors.
Instead, propagate the error to the test runner so that the total
failures are counted and reported in the end.
This is a follow-up fix to my previous commit
dad22e44dc57d9ba999b6826494043a616e16b43.
Summary of changes:
test/testcases/libnvmm/h_io_assist.c | 31 ++++++++++++++++++-------------
test/testcases/libnvmm/h_mem_assist.c | 31 ++++++++++++++++++-------------
2 files changed, 36 insertions(+), 26 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/18e8b2069e299430bf9319209a07a7c651d56c2f
--
DragonFly BSD source repository
More information about the Commits
mailing list