1 // SPDX-License-Identifier: GPL-2.0-or-later 2 /* 3 * Copyright (c) 2021 Yang Xu <xuyang2018.jy@fujitsu.com> 4 */ 5 6 /* 7 * Test Illegal format by using version that has garbage. 8 */ 9 10 #include "tst_test.h" 11 do_test(void)12static void do_test(void) 13 { 14 tst_res(TFAIL, "Garbage version was parsed!"); 15 } 16 17 static struct tst_test test = { 18 .test_all = do_test, 19 .needs_cmds = (const char *[]) { 20 "mkfs.ext4 > 1.43.0-1", 21 NULL 22 } 23 }; 24