0487d3a4ee
Add tests for creation and deletion of OCF bdev We explicitly check 'claimed' property of base devices Other issues like segfaults or custom SPDK errors also can be revealed by these tests Change-Id: Ia1d79df8db2e734e8d868a733655f69a0348de8e Signed-off-by: Vitaliy Mysak <vitaliy.mysak@intel.com> Reviewed-on: https://review.gerrithub.io/c/439536 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Maciej Szwed <maciej.szwed@intel.com> Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
22 lines
396 B
Bash
Executable File
22 lines
396 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 "$@"
|
|
run_test suite "$@"
|
|
timing_exit "$@"
|
|
}
|
|
|
|
timing_enter ocf
|
|
|
|
suite "$testdir/integrity/fio-mallocs.sh"
|
|
suite "$testdir/integrity/bdevperf-iotypes.sh"
|
|
suite "$testdir/management/create-destruct.sh"
|
|
|
|
timing_exit ocf
|