testing/ostest: Remove the unreal used SIG_WAITCANCEL

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao 2023-03-25 05:37:57 +08:00 committed by David Sidrane
parent 3ac86cc6f1
commit 417b87a0a0

View File

@ -36,12 +36,6 @@
#include "ostest.h"
/****************************************************************************
* Preprocessor definitions
****************************************************************************/
#define SIG_WAITCANCEL 27
/****************************************************************************
* Private Data
****************************************************************************/
@ -234,7 +228,7 @@ static FAR void *sig_waiter(FAR void *parameter)
/* Wait for a signal that will never be delivered */
printf("sig_waiter: Waiting to receive signal %d ...\n", SIG_WAITCANCEL);
printf("sig_waiter: Waiting to receive signal...\n");
sigemptyset(&set);
ret = sigwaitinfo(&set, &info);