@@ -15,6 +15,10 @@ requires() {
_require_nvme_trtype_is_loop
}
+set_conditions() {
+ _set_nvme_trtype "$@"
+}
+
test() {
echo "Running ${TEST_NAME}"
@@ -17,6 +17,10 @@ requires() {
_have_writeable_kmsg
}
+set_conditions() {
+ _set_nvme_trtype "$@"
+}
+
test() {
echo "Running ${TEST_NAME}"
@@ -17,6 +17,10 @@ requires() {
_require_nvme_trtype_is_fabrics
}
+set_conditions() {
+ _set_nvme_trtype "$@"
+}
+
test() {
echo "Running ${TEST_NAME}"
@@ -16,6 +16,10 @@ requires() {
_require_nvme_trtype_is_fabrics
}
+set_conditions() {
+ _set_nvme_trtype "$@"
+}
+
test() {
echo "Running ${TEST_NAME}"
@@ -15,6 +15,10 @@ requires() {
_require_nvme_trtype_is_fabrics
}
+set_conditions() {
+ _set_nvme_trtype "$@"
+}
+
test() {
echo "Running ${TEST_NAME}"
@@ -14,6 +14,10 @@ requires() {
_require_nvme_trtype_is_fabrics
}
+set_conditions() {
+ _set_nvme_trtype "$@"
+}
+
test() {
echo "Running ${TEST_NAME}"
@@ -15,6 +15,10 @@ requires() {
_require_nvme_trtype_is_fabrics
}
+set_conditions() {
+ _set_nvme_trtype "$@"
+}
+
test() {
echo "Running ${TEST_NAME}"
@@ -14,6 +14,10 @@ requires() {
_require_nvme_trtype_is_fabrics
}
+set_conditions() {
+ _set_nvme_trtype "$@"
+}
+
test() {
echo "Running ${TEST_NAME}"
@@ -15,6 +15,10 @@ requires() {
_require_nvme_trtype_is_fabrics
}
+set_conditions() {
+ _set_nvme_trtype "$@"
+}
+
test() {
echo "Running ${TEST_NAME}"
@@ -15,6 +15,10 @@ requires() {
_require_nvme_trtype_is_fabrics
}
+set_conditions() {
+ _set_nvme_trtype "$@"
+}
+
test() {
echo "Running ${TEST_NAME}"
@@ -19,6 +19,10 @@ requires() {
_require_nvme_test_img_size 350m
}
+set_conditions() {
+ _set_nvme_trtype "$@"
+}
+
test() {
echo "Running ${TEST_NAME}"
@@ -18,6 +18,10 @@ requires() {
_require_nvme_test_img_size 350m
}
+set_conditions() {
+ _set_nvme_trtype "$@"
+}
+
test() {
echo "Running ${TEST_NAME}"
@@ -15,6 +15,10 @@ requires() {
_require_nvme_trtype_is_fabrics
}
+set_conditions() {
+ _set_nvme_trtype "$@"
+}
+
test() {
echo "Running ${TEST_NAME}"
@@ -15,6 +15,10 @@ requires() {
_require_nvme_trtype_is_fabrics
}
+set_conditions() {
+ _set_nvme_trtype "$@"
+}
+
test() {
echo "Running ${TEST_NAME}"
@@ -13,6 +13,10 @@ requires() {
_require_nvme_trtype_is_loop
}
+set_conditions() {
+ _set_nvme_trtype "$@"
+}
+
test() {
echo "Running ${TEST_NAME}"
@@ -13,6 +13,10 @@ requires() {
_require_nvme_trtype_is_loop
}
+set_conditions() {
+ _set_nvme_trtype "$@"
+}
+
test() {
echo "Running ${TEST_NAME}"
@@ -16,6 +16,10 @@ requires() {
_require_nvme_trtype_is_fabrics
}
+set_conditions() {
+ _set_nvme_trtype "$@"
+}
+
test() {
echo "Running ${TEST_NAME}"
@@ -15,6 +15,10 @@ requires() {
_require_nvme_trtype_is_fabrics
}
+set_conditions() {
+ _set_nvme_trtype "$@"
+}
+
test() {
echo "Running ${TEST_NAME}"
@@ -14,6 +14,10 @@ requires() {
_require_nvme_trtype_is_fabrics
}
+set_conditions() {
+ _set_nvme_trtype "$@"
+}
+
test() {
echo "Running ${TEST_NAME}"
@@ -15,6 +15,10 @@ requires() {
_require_nvme_trtype_is_fabrics
}
+set_conditions() {
+ _set_nvme_trtype "$@"
+}
+
test() {
echo "Running ${TEST_NAME}"
@@ -15,6 +15,10 @@ requires() {
_require_nvme_trtype_is_fabrics
}
+set_conditions() {
+ _set_nvme_trtype "$@"
+}
+
test() {
echo "Running ${TEST_NAME}"
@@ -15,6 +15,10 @@ requires() {
_require_nvme_trtype_is_fabrics
}
+set_conditions() {
+ _set_nvme_trtype "$@"
+}
+
test() {
echo "Running ${TEST_NAME}"
@@ -15,6 +15,10 @@ requires() {
_require_nvme_trtype_is_fabrics
}
+set_conditions() {
+ _set_nvme_trtype "$@"
+}
+
test() {
echo "Running ${TEST_NAME}"
@@ -15,6 +15,10 @@ requires() {
_require_nvme_trtype_is_fabrics
}
+set_conditions() {
+ _set_nvme_trtype "$@"
+}
+
test() {
echo "Running ${TEST_NAME}"
@@ -15,6 +15,10 @@ requires() {
_require_nvme_trtype_is_fabrics
}
+set_conditions() {
+ _set_nvme_trtype "$@"
+}
+
test() {
echo "Running ${TEST_NAME}"
@@ -15,6 +15,10 @@ requires() {
_require_nvme_trtype_is_fabrics
}
+set_conditions() {
+ _set_nvme_trtype "$@"
+}
+
test() {
echo "Running ${TEST_NAME}"
@@ -15,6 +15,10 @@ requires() {
_require_nvme_trtype_is_fabrics
}
+set_conditions() {
+ _set_nvme_trtype "$@"
+}
+
test() {
echo "Running ${TEST_NAME}"
@@ -16,6 +16,10 @@ requires() {
_require_nvme_trtype_is_fabrics
}
+set_conditions() {
+ _set_nvme_trtype "$@"
+}
+
test_user_io()
{
local disk="$1"
@@ -15,6 +15,10 @@ requires() {
_require_nvme_trtype_is_fabrics
}
+set_conditions() {
+ _set_nvme_trtype "$@"
+}
+
test() {
echo "Running ${TEST_NAME}"
@@ -23,6 +23,10 @@ requires() {
_require_nvme_trtype_is_fabrics
}
+set_conditions() {
+ _set_nvme_trtype "$@"
+}
+
test() {
echo "Running ${TEST_NAME}"
@@ -13,6 +13,10 @@ requires() {
_have_kernel_option NVME_TARGET_PASSTHRU
}
+set_conditions() {
+ _set_nvme_trtype "$@"
+}
+
nvme_info() {
local ns=$1
@@ -14,6 +14,10 @@ requires() {
_have_fio
}
+set_conditions() {
+ _set_nvme_trtype "$@"
+}
+
test_device() {
echo "Running ${TEST_NAME}"
@@ -20,6 +20,10 @@ device_requires() {
_require_test_dev_size "${nvme_img_size}"
}
+set_conditions() {
+ _set_nvme_trtype "$@"
+}
+
test_device() {
echo "Running ${TEST_NAME}"
@@ -13,6 +13,10 @@ requires() {
_have_kernel_option NVME_TARGET_PASSTHRU
}
+set_conditions() {
+ _set_nvme_trtype "$@"
+}
+
test_device() {
echo "Running ${TEST_NAME}"
@@ -12,6 +12,10 @@ requires() {
_have_kernel_option NVME_TARGET_PASSTHRU
}
+set_conditions() {
+ _set_nvme_trtype "$@"
+}
+
test_device() {
echo "Running ${TEST_NAME}"
@@ -18,6 +18,10 @@ requires() {
_nvme_requires
}
+set_conditions() {
+ _set_nvme_trtype "$@"
+}
+
test() {
echo "Running ${TEST_NAME}"
@@ -16,6 +16,10 @@ requires() {
_require_nvme_trtype_is_fabrics
}
+set_conditions() {
+ _set_nvme_trtype "$@"
+}
+
test() {
echo "Running ${TEST_NAME}"
@@ -19,6 +19,9 @@ requires() {
_require_nvme_cli_auth
}
+set_conditions() {
+ _set_nvme_trtype "$@"
+}
test() {
echo "Running ${TEST_NAME}"
@@ -19,6 +19,9 @@ requires() {
_require_nvme_cli_auth
}
+set_conditions() {
+ _set_nvme_trtype "$@"
+}
test() {
echo "Running ${TEST_NAME}"
@@ -20,6 +20,9 @@ requires() {
_have_driver dh_generic
}
+set_conditions() {
+ _set_nvme_trtype "$@"
+}
test() {
echo "Running ${TEST_NAME}"
@@ -20,6 +20,9 @@ requires() {
_have_driver dh_generic
}
+set_conditions() {
+ _set_nvme_trtype "$@"
+}
test() {
echo "Running ${TEST_NAME}"
@@ -21,6 +21,9 @@ requires() {
_have_driver dh_generic
}
+set_conditions() {
+ _set_nvme_trtype "$@"
+}
test() {
echo "Running ${TEST_NAME}"
@@ -17,6 +17,10 @@ requires() {
_have_kver 4 21
}
+set_conditions() {
+ _set_nvme_trtype "$@"
+}
+
test() {
echo "Running ${TEST_NAME}"
@@ -15,6 +15,10 @@ requires() {
_require_min_cpus 2
}
+set_conditions() {
+ _set_nvme_trtype "$@"
+}
+
nvmf_wait_for_state() {
local def_state_timeout=5
local subsys_name="$1"