From 8f124a95a444b31d30a50b9077b19412e727f440 Mon Sep 17 00:00:00 2001 From: Kent Overstreet Date: Tue, 17 Nov 2020 14:55:08 -0500 Subject: [PATCH] Add missing ktest_run command --- lib/libktest.sh | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/lib/libktest.sh b/lib/libktest.sh index 9be0214d..69ed944b 100644 --- a/lib/libktest.sh +++ b/lib/libktest.sh @@ -156,6 +156,23 @@ ktest_usage_post() # subcommands: +ktest_run() +{ + if [[ $# = 0 ]]; then + echo "$0: missing test" + usage + exit 1 + fi + + ktest_test=$1 + shift + ktest_testargs="$@" + + parse_test_deps "$ktest_test" + + start_vm +} + ktest_boot() { ktest_interactive=1