Home
last modified time | relevance | path

Searched refs:tst_cmd (Results 1 – 21 of 21) sorted by relevance

/third_party/ltp/include/
Dtst_cmd.h59 static inline int tst_cmd(const char *const argv[], in tst_cmd() function
78 static inline int tst_cmd(void (cleanup_fn)(void), in tst_cmd() function
/third_party/ltp/testcases/network/nfs/nfs_stress/
Dnfs05_make_tree.c85 tst_cmd(cmd_run, output_file, NULL, 0); in run_targets()
182 tst_cmd(cmd_make, NULL, NULL, 0); in thread_fn()
186 tst_cmd(cmd_make_clean, NULL, NULL, 0); in thread_fn()
/third_party/ltp/lib/
Dtst_module.c100 tst_cmd(cleanup_fn, mod_argv, NULL, NULL, 0); in tst_module_load_()
112 rc = tst_cmd(NULL, argv, "/dev/null", "/dev/null", in tst_module_unload_()
Dtst_mkfs.c99 ret = tst_cmd(cleanup_fn, argv, "/dev/null", NULL, TST_CMD_PASS_RETVAL | in tst_mkfs_()
Dtst_safe_macros.c547 switch ((rval = tst_cmd(argv, stdout_path, stderr_path, in safe_cmd()
/third_party/ltp/testcases/kernel/syscalls/setpriority/
Dsetpriority01.c115 switch ((rc = tst_cmd(cmd_useradd, NULL, NULL, TST_CMD_PASS_RETVAL))) { in setup()
136 if (tst_cmd(cmd_userdel, NULL, NULL, TST_CMD_PASS_RETVAL)) in cleanup()
/third_party/ltp/testcases/kernel/device-drivers/zram/
Dzram03.c203 if (!tst_cmd(cmd_rmmod, NULL, NULL, TST_CMD_PASS_RETVAL)) { in setup()
216 if (tst_cmd(cmd_zramctl, zramctl_log_path, NULL, TST_CMD_PASS_RETVAL)) in setup()
/third_party/ltp/testcases/kernel/input/
Dinput_helper.c95 ret = tst_cmd(NULL, argv, NULL, NULL, TST_CMD_PASS_RETVAL); in try_load_uinput()
111 ret = tst_cmd(NULL, argv, NULL, NULL, TST_CMD_PASS_RETVAL); in unload_uinput()
/third_party/ltp/testcases/network/can/filter-tests/
Dcan_common.h29 tst_cmd(argv, NULL, NULL, TST_CMD_TCONF_ON_MISSING); in can_cmd()
/third_party/ltp/libs/libltpswap/
Dlibswap.c33 return tst_cmd(argv, "/dev/null", "/dev/null", safe); in make_swapfile()
/third_party/ltp/testcases/kernel/fs/squashfs/
Dsquashfs01.c83 tst_cmd(argv, "/dev/null", NULL, 0); in setup()
/third_party/ltp/testcases/kernel/syscalls/ioctl/
Dioctl09.c29 ret = tst_cmd(cmd, NULL, NULL, TST_CMD_PASS_RETVAL); in change_partition()
Dioctl_loop01.c110 ret = tst_cmd(cmd_parted, NULL, NULL, TST_CMD_PASS_RETVAL); in setup()
/third_party/ltp/testcases/network/can/cve/
Dcan_bcm01.c51 tst_cmd((const char*[]){"modprobe", "vcan", NULL}, NULL, NULL, 0); in setup()
/third_party/ltp/tools/apicmds/
Dltpapicmd.c111 tst_cmd(NULL, cmd, NULL, NULL, 0); in tst_cat_file()
/third_party/ltp/testcases/kernel/syscalls/add_key/
Dadd_key05.c55 if (tst_cmd(cmd_userdel, NULL, NULL, TST_CMD_PASS_RETVAL)) in clean_user()
/third_party/ltp/testcases/cve/
Dstack_clash.c122 tst_cmd(cmd, NULL, NULL, 0); in dump_proc_self_maps()
/third_party/ltp/testcases/kernel/syscalls/copy_file_range/
Dcopy_file_range02.c94 ret = tst_cmd(cmd, NULL, NULL, TST_CMD_PASS_RETVAL); in run_command()
/third_party/ltp/testcases/kernel/syscalls/acct/
Dacct02.c74 rc = tst_cmd(cmd, NULL, NULL, TST_CMD_PASS_RETVAL) << 8; in run_command()
/third_party/ltp/testcases/network/netstress/
Dnetstress.c965 if (tst_cmd(argv, NULL, NULL, TST_CMD_PASS_RETVAL)) in setup()
/third_party/ltp/doc/
Dc-test-api.txt1231 int tst_cmd(const char *const argv[],
1237 'tst_cmd()' is a wrapper for 'vfork() + execvp()' which provides a way
1243 'TST_CMD_PASS_RETVAL' enum 'tst_cmd_flags' makes 'tst_cmd()'
1244 return the program exit code to the caller, otherwise 'tst_cmd()' exit the
1266 tst_cmd(cmd, "log.txt", NULL, 0);
2035 method in the version_parsers structure of lib/tst_cmd.c.