Hi,

I'll send revised a test case for signalfd based on input from Vijay.

Consider the current working directory is at ltp/testcases/kernel/syscalls.

[patch 1/3]: utils/cond.mk
[patch 2/3]: signalfd/Makefile
[patch 3/3]: signalfd/signalfd01.c

signalfd/Makefile uses check_header macro defined in utils/cond.mk.
check_header macro decides an additional compiler flag(-DHAS_SIGNALFD_H).
if sys/signalfd.h is found on the system. signalfd/Makefile append the
flag to CFALGS. 

tst_resm is called to report "the system call is no usable" 
if HAS_SIGNALFD_H is not defined.

Masatake

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to