test/nvme: Lock FDP test to FDP-capable nvme only
Change-Id: I199394c54914c99448153134ceb6e67a9c003f94 Signed-off-by: Michal Berger <michal.berger@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/17773 Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Shuhei Matsumoto <smatsumoto@nvidia.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
This commit is contained in:
parent
b8d6f31308
commit
d4a939dc87
@ -3,13 +3,16 @@
|
|||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
#
|
#
|
||||||
|
|
||||||
testdir=$(readlink -f $(dirname $0))
|
testdir=$(readlink -f "$(dirname "$0")")
|
||||||
rootdir=$(readlink -f $testdir/../..)
|
rootdir=$(readlink -f "$testdir/../..")
|
||||||
source $rootdir/scripts/common.sh
|
source "$rootdir/test/nvme/cuse/common.sh"
|
||||||
source $rootdir/test/common/autotest_common.sh
|
|
||||||
|
|
||||||
if [ $(uname) = Linux ]; then
|
"$rootdir/scripts/setup.sh" reset
|
||||||
$rootdir/scripts/setup.sh
|
|
||||||
fi
|
|
||||||
|
|
||||||
run_test "nvme_flexible_data_placement" $testdir/fdp/fdp
|
scan_nvme_ctrls
|
||||||
|
ctrl=$(get_ctrl_with_fdp) bdf=${bdfs["$ctrl"]}
|
||||||
|
|
||||||
|
"$rootdir/scripts/setup.sh"
|
||||||
|
|
||||||
|
run_test "nvme_flexible_data_placement" "$testdir/fdp/fdp" \
|
||||||
|
-r "trtype:pcie traddr:$bdf"
|
||||||
|
Loading…
Reference in New Issue
Block a user