Skip to content

Commit

Permalink
Add missing ktest_run command
Browse files Browse the repository at this point in the history
  • Loading branch information
koverstreet committed Nov 17, 2020
1 parent 6cfcbb3 commit 8f124a9
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions lib/libktest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8f124a9

Please sign in to comment.