代码拉取完成,页面将自动刷新
同步操作将从 src-openEuler/libiscsi 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
From c830a3b55e91fe8b1cb97e6899ef872691c8804e Mon Sep 17 00:00:00 2001
From: David Disseldorp <ddiss@suse.de>
Date: Mon, 16 Sep 2019 15:40:00 +0200
Subject: [PATCH 08/12] test-tool/CryptoEraseReserved: skip unless iSCSI
This test performs PDU manipulation so should only be run against iSCSI
devices.
Signed-off-by: David Disseldorp <ddiss@suse.de>
---
test-tool/test_sanitize_crypto_erase_reserved.c | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/test-tool/test_sanitize_crypto_erase_reserved.c b/test-tool/test_sanitize_crypto_erase_reserved.c
index c713ab5..00bbf34 100644
--- a/test-tool/test_sanitize_crypto_erase_reserved.c
+++ b/test-tool/test_sanitize_crypto_erase_reserved.c
@@ -56,6 +56,13 @@ void test_sanitize_crypto_erase_reserved(void)
CHECK_FOR_SANITIZE;
CHECK_FOR_DATALOSS;
+ if (sd->iscsi_ctx == NULL) {
+ const char *err = "[SKIPPED] This test is "
+ "only supported for iSCSI backends";
+ logging(LOG_NORMAL, "%s", err);
+ CU_PASS(err);
+ return;
+ }
local_iscsi_queue_pdu = my_iscsi_queue_pdu;
--
1.8.3.1
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。