Change-Id: I913d378fe3f324043e8e86c1df209ad19680c60b Signed-off-by: Pawel Kaminski <pawelx.kaminski@intel.com> Reviewed-on: https://review.gerrithub.io/410789 Tested-by: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Pawel Wodkowski <pawelx.wodkowski@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com>
26 lines
490 B
Bash
Executable File
26 lines
490 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -ex
|
|
VHOST_JSON_DIR=$(readlink -f $(dirname $0))
|
|
. $VHOST_JSON_DIR/../../json_config/common.sh
|
|
|
|
function test_subsystems() {
|
|
run_spdk_tgt
|
|
|
|
rpc_py="$spdk_rpc_py"
|
|
clear_config_py="$spdk_clear_config_py"
|
|
load_nvme
|
|
|
|
upload_vhost
|
|
test_json_config
|
|
$clear_config_py clear_config
|
|
|
|
kill_targets
|
|
}
|
|
|
|
trap 'on_error_exit "${FUNCNAME}" "${LINENO}"' ERR
|
|
timing_enter json_config_vhost
|
|
|
|
test_subsystems
|
|
timing_exit json_config_vhost
|
|
report_test_completion json_config_vhost
|