blob: ac48b8a49f880dd2e787c41d2d79d1adda278e11 [file] [log] [blame]
Benny Prijono5dcb38d2005-11-21 01:55:47 +00001/* $Id */
2/*
Benny Prijonoa771a512007-02-19 01:13:53 +00003 * Copyright (C) 2003-2007 Benny Prijono <benny@prijono.org>
Benny Prijono5dcb38d2005-11-21 01:55:47 +00004 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18 */
19#include "test.h"
20
21#if defined(PJ_SUNOS) && PJ_SUNOS!=0
22#include <signal.h>
23static void init_signals()
24{
25 struct sigaction act;
26
27 memset(&act, 0, sizeof(act));
28 act.sa_handler = SIG_IGN;
29
30 sigaction(SIGALRM, &act, NULL);
31}
32
33#else
34#define init_signals()
35#endif
36
37#define boost()
38
39int main(int argc, char *argv[])
40{
41 int rc;
42
43 PJ_UNUSED_ARG(argc);
44 PJ_UNUSED_ARG(argv);
45
46 boost();
47 init_signals();
48
49 rc = test_main();
50
51 return rc;
52}
53