This patch adds test that checks correctnes of delete_ocf_bdev rpc command. After delete_ocf_bdev command, all settings related to the removed ocf instance should be cleared and this particular ocf instance should not be loaded on next application start. Signed-off-by: Marcin Dziegielewski <marcin.dziegielewski@intel.com> Change-Id: Ifc61399d9f1ab7407f62b4a25e9bb1468f401880 Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/465674 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com>
26 lines
573 B
Bash
Executable File
26 lines
573 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
testdir=$(readlink -f $(dirname $0))
|
|
rootdir=$(readlink -f $testdir/../..)
|
|
|
|
source $rootdir/test/common/autotest_common.sh
|
|
|
|
function suite()
|
|
{
|
|
timing_enter $(basename $@)
|
|
run_test suite "$@"
|
|
timing_exit $(basename $@)
|
|
}
|
|
|
|
timing_enter ocf
|
|
|
|
suite "$testdir/integrity/fio-modes.sh"
|
|
suite "$testdir/integrity/bdevperf-iotypes.sh"
|
|
suite "$testdir/management/create-destruct.sh"
|
|
suite "$testdir/management/multicore.sh"
|
|
suite "$testdir/management/persistent-metadata.sh"
|
|
suite "$testdir/management/remove.sh"
|
|
|
|
timing_exit ocf
|
|
report_test_completion "ocf"
|