Importing Egor's testsuite.

This commit is contained in:
Christopher Faylor
2000-09-03 03:58:18 +00:00
parent 42f03f6757
commit f1930aec47
99 changed files with 26942 additions and 5 deletions

View File

@@ -0,0 +1,20 @@
#include <sys/types.h>
#include <unistd.h>
#include <signal.h>
int no_signal_caught = 1;
void handler ( int signo )
{
no_signal_caught = 0;
}
main()
{
pid_t pid;
signal ( SIGCHLD, handler );
pid = fork();
if ( pid == 0 ) exit ( 0 );
sleep ( 2 );
exit ( no_signal_caught );
}