]>
Commit | Line | Data |
---|---|---|
11fdf7f2 TL |
1 | #!/usr/bin/env bash |
2 | set -ex | |
3 | VHOST_JSON_DIR=$(readlink -f $(dirname $0)) | |
4 | . $VHOST_JSON_DIR/../../json_config/common.sh | |
5 | ||
6 | function test_subsystems() { | |
7 | run_spdk_tgt | |
8 | ||
9 | rpc_py="$spdk_rpc_py" | |
10 | clear_config_py="$spdk_clear_config_py" | |
11 | load_nvme | |
12 | ||
13 | upload_vhost | |
14 | test_json_config | |
15 | $clear_config_py clear_config | |
16 | ||
17 | kill_targets | |
18 | } | |
19 | ||
20 | trap 'on_error_exit "${FUNCNAME}" "${LINENO}"' ERR | |
21 | timing_enter json_config_vhost | |
22 | ||
23 | test_subsystems | |
24 | timing_exit json_config_vhost | |
25 | report_test_completion json_config_vhost |