1f08c3bdfSopenharmony_ci// SPDX-License-Identifier: GPL-2.0-or-later 2f08c3bdfSopenharmony_ci/* 3f08c3bdfSopenharmony_ci * Copyright (c) 2016 Linux Test Project 4f08c3bdfSopenharmony_ci */ 5f08c3bdfSopenharmony_ci 6f08c3bdfSopenharmony_ci/* 7f08c3bdfSopenharmony_ci * Test for watchdog timeout. 8f08c3bdfSopenharmony_ci */ 9f08c3bdfSopenharmony_ci 10f08c3bdfSopenharmony_ci#include "tst_test.h" 11f08c3bdfSopenharmony_ci 12f08c3bdfSopenharmony_ci 13f08c3bdfSopenharmony_cistatic void do_test(void) 14f08c3bdfSopenharmony_ci{ 15f08c3bdfSopenharmony_ci sleep(2); 16f08c3bdfSopenharmony_ci tst_res(TPASS, "Not reached"); 17f08c3bdfSopenharmony_ci} 18f08c3bdfSopenharmony_ci 19f08c3bdfSopenharmony_cistatic struct tst_test test = { 20f08c3bdfSopenharmony_ci .test_all = do_test, 21f08c3bdfSopenharmony_ci .timeout = 1, 22f08c3bdfSopenharmony_ci}; 23