Change-Id: Ibb94abdfc6881aa3e8e6dceaf70e494f0146e385 Signed-off-by: Pawel Kaminski <pawelx.kaminski@intel.com> Reviewed-on: https://review.gerrithub.io/406561 Tested-by: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
28 lines
563 B
Bash
Executable File
28 lines
563 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -ex
|
|
BDEV_JSON_DIR=$(readlink -f $(dirname $0))
|
|
. $BDEV_JSON_DIR/../../json_config/common.sh
|
|
|
|
function test_subsystems() {
|
|
run_spdk_tgt
|
|
rootdir=$(readlink -f $BDEV_JSON_DIR/../../..)
|
|
|
|
rpc_py="$spdk_rpc_py"
|
|
clear_config_py="$spdk_clear_config_py"
|
|
load_nvme
|
|
create_bdev_subsystem_config
|
|
test_json_config
|
|
|
|
clear_bdev_subsystem_config
|
|
test_global_params "spdk_tgt"
|
|
kill_targets
|
|
}
|
|
|
|
timing_enter json_config
|
|
trap 'on_error_exit "${FUNCNAME}" "${LINENO}"' ERR
|
|
|
|
test_subsystems
|
|
|
|
timing_exit json_config
|
|
report_test_completion json_config
|