nuttx-apps/testing/ostest
raiden00pl 73a9c9a697 testing/ostest: accept -ENOENT from work_cancel() for unqueued work
Since nuttx commit 5a209a853e ("sched/wqueue: restore -ENOENT from
work_cancel() for unqueued work") work_cancel() and work_cancel_wq()
return -ENOENT when the work is not queued. The tester thread queues
work with zero delay, so the worker may already have consumed it by the
time it is cancelled and the ASSERT(ret == OK) fires;

Accept -ENOENT there and expect it when cancelling idle work in
the API validation test.

Signed-off-by: raiden00pl <raiden00@railab.me>
2026-09-17 09:40:21 -03:00
..
aio.c nshlib/testing: Fix open() arguments. 2026-05-22 13:39:04 +08:00
barrier.c testing: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
cancel.c testing: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
chroot.c testing: add ostest coverage for chroot 2026-08-21 02:54:29 +08:00
CMakeLists.txt testing/ostest: exercise custom work queues 2026-09-16 00:07:51 +08:00
cond.c testing: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
dev_null.c testing: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
fork.c testing/ostest: Split the fork test into vfork and fork. 2026-08-14 07:46:54 -03:00
fpu.c testing: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
getopt.c testing: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
hrtimer.c ostest/hrtimer: Update the comments. 2026-02-26 13:42:45 -05:00
Kconfig testing/ostest: exercise custom work queues 2026-09-16 00:07:51 +08:00
libc_memmem.c testing: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
Make.defs testing: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
Makefile testing/ostest: exercise custom work queues 2026-09-16 00:07:51 +08:00
mqueue.c testing: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
multiuser.c system/sudo: add setuid privilege helper 2026-08-17 09:06:13 -03:00
mutex.c ostest: Implement mutex move test functionality 2025-03-24 20:34:54 +08:00
nsem.c testing: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
nxevent.c sched/event: add nxevent_getmask tests 2025-09-10 13:59:04 +08:00
ostest.h testing/ostest: exercise custom work queues 2026-09-16 00:07:51 +08:00
ostest_main.c testing/ostest: exercise custom work queues 2026-09-16 00:07:51 +08:00
perf_gettime.c testing/ostest: Add performance event time counter test 2026-02-02 14:01:00 +08:00
posixtimer.c ostest: Make POSIX timers test work with CONFIG_ENABLE_PARTIAL_SIGNALS 2026-06-16 08:49:22 +02:00
prioinherit.c testing: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
pthread_cleanup.c testing: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
pthread_exit.c testing: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
pthread_rwlock.c testing: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
pthread_rwlock_cancel.c testing: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
restart.c testing: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
rmutex.c testing: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
robust.c testing: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
roundrobin.c apps: replace atomic_fetch_xxx with atomic_xxx 2026-08-24 20:10:37 +08:00
sched_thread_local.c testing: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
schedlock.c Remove unused header files across multiple source files 2025-01-10 21:42:00 +08:00
sem.c testing: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
semtimed.c !apps: drop redundant casts on tv_sec/tv_nsec and fix printf formats 2026-05-22 13:38:25 +08:00
setjmp.c testing: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
setvbuf.c testing: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
sigev_thread.c testing: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
sighand.c sighand: need block WAKEUP_SIGNAL in current tcb 2026-01-12 00:55:33 +08:00
sighelper.c testing: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
signest.c include/debug.h: Use <nuttx/debug.h> in apps 2026-04-11 10:39:27 -03:00
sigprocmask.c testing: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
smp_call.c testing/ostest/smp_call.c: fix smp_call cpu_set inconsistency issue 2025-12-09 09:44:37 -05:00
specific.c testing: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
spinlock.c apps: replace atomic_fetch_xxx with atomic_xxx 2026-08-24 20:10:37 +08:00
sporadic.c testing/{ostest,sched/smp}: Remove BOARD_LOOPSPERMSEC references 2026-02-09 09:21:50 +01:00
sporadic2.c testing/{ostest,sched/smp}: Remove BOARD_LOOPSPERMSEC references 2026-02-09 09:21:50 +01:00
suspend.c testing: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
timedmqueue.c testing: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
timedmutex.c testing/ostest: Add timed mutex timeout regression tests 2026-08-05 21:52:16 +08:00
timedwait.c testing: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
tls.c testing: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
vfork.c testing/ostest: Split the fork test into vfork and fork. 2026-08-14 07:46:54 -03:00
waitpid.c testing: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
wdog.c !apps: replace sclock_t with clock_t and drop redundant time_t/off_t casts 2026-05-11 17:38:32 +08:00
wqueue.c testing/ostest: accept -ENOENT from work_cancel() for unqueued work 2026-09-17 09:40:21 -03:00