1 // SPDX-License-Identifier: GPL-2.0-or-later 2 /* 3 * Copyright (c) 2021 Yang Xu <[email protected]> 4 */ 5 6 #include "tst_test.h" 7 do_test(void)8static void do_test(void) 9 { 10 tst_res(TPASS, "Testing tst_check_cmd() functionality OK."); 11 } 12 13 static struct tst_test test = { 14 .test_all = do_test, 15 .needs_cmds = (const char *[]) { 16 "mkfs.ext4", 17 "mkfs.ext4 >= 1.0.0", 18 "mkfs.ext4 <= 2.0.0", 19 "mkfs.ext4 != 2.0.0", 20 "mkfs.ext4 > 1.0.0", 21 "mkfs.ext4 < 2.0.0", 22 NULL 23 } 24 }; 25