/* validate k_wakeup() in some corner scenario 
trigger a timer and after expiration of timer call k_wakeup(), even the thread is not in sleep state neither in pending state */
ZTEST(threads_scheduling, test_wakeup_expired_timer_thread)
/* validate k_wakeup() in some corner scenario 
trigger a timer and after expiration of timer call k_wakeup(), even the thread is not in sleep state neither in pending state */
ZTEST(threads_scheduling, test_wakeup_expired_timer_thread)
{
	k_tid_t tid = k_thread_create(&tthread[0], tstack, STACK_SIZE,
					thread_handler, NULL, NULL, NULL,
					K_PRIO_PREEMPT(0), 0, K_NO_WAIT);
	k_sem_take(&timer_sema, K_FOREVER);
	k_wakeup(tid);
	k_thread_abort(tid);
}