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