unplugged-system/external/ltp/lib/newlib_tests/tst_needs_cmds05.c

24 lines
406 B
C

// SPDX-License-Identifier: GPL-2.0-or-later
/*
* Copyright (c) 2021 Yang Xu <xuyang2018.jy@fujitsu.com>
*/
/*
* Test Illegal format by using version that has garbage.
*/
#include "tst_test.h"
static void do_test(void)
{
tst_res(TFAIL, "Garbage version was parsed!");
}
static struct tst_test test = {
.test_all = do_test,
.needs_cmds = (const char *[]) {
"mkfs.ext4 > 1.43.0-1",
NULL
}
};