1 /*
2 * Copyright (C) 2013 Linux Test Project
3 * Copyright (C) 2015 Cyril Hrubis <chrubis@suse.cz>
4 *
5 * This program is free software; you can redistribute it and/or modify it
6 * under the terms of version 2 of the GNU General Public License as
7 * published by the Free Software Foundation.
8 *
9 * This program is distributed in the hope that it would be useful, but
10 * WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
12 *
13 * Further, this software is distributed without any warranty that it is
14 * free of the rightful claim of any third person regarding infringement
15 * or the like. Any license provided herein, whether implied or
16 * otherwise, applies only to this software file. Patent licenses, if
17 * any, provided herein do not apply to combinations of this program with
18 * other software, or any other product whatsoever.
19 *
20 * You should have received a copy of the GNU General Public License along
21 * with this program; if not, write the Free Software Foundation, Inc.,
22 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
23 */
24
25 #include <sys/wait.h>
26
27 #include "test.h"
28
29 char *TCID = "tst_checkpoint_wake_timeout";
30 int TST_TOTAL = 1;
31
main(void)32 int main(void)
33 {
34 tst_tmpdir();
35
36 TST_CHECKPOINT_INIT(tst_rmdir);
37 TST_SAFE_CHECKPOINT_WAKE(tst_rmdir, 0);
38 fprintf(stderr, "Parent: checkpoint reached\n");
39
40 return 0;
41 }
42