#include #include #include #include #include #include #include "../test_helpers.h" //this test ensures that sending an invalid signal will set errno to esrch int main() { /* * ESRCH */ int status; status = kill(999999, 0); ERROR_IF(kill, status, != -1); ERROR_IF(kill, errno, != ESRCH); return EXIT_SUCCESS; }