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