blob: 76b5e53489e07f7cbba6e79aa594f1095b2eb483 [file] [log] [blame]
/*
* Copyright (c) 2003, Intel Corporation. All rights reserved.
* Created by: salwan.searty REMOVE-THIS AT intel DOT com
* This file is licensed under the GPL license. For the full content
* of this license, see the COPYING file at the top level of this
* source tree.
Simply, if sigignore returns a 0 here, test passes.
*/
#define _XOPEN_SOURCE 600
#include <stdio.h>
#include <signal.h>
#include "posixtest.h"
int main()
{
if (sigignore(SIGABRT) != 0) {
perror("sigignore failed -- returned -- test aborted");
return PTS_UNRESOLVED;
}
printf("sigignore passed\n");
return PTS_PASS;
}