代码拉取完成,页面将自动刷新
同步操作将从 src-openEuler/qemu 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
From d95cbdd8738d61b8bc7c9a1541dade42c1f48314 Mon Sep 17 00:00:00 2001
From: adttil <2429917001@qq.com>
Date: Thu, 1 Feb 2024 21:53:58 +0800
Subject: [PATCH] tests/qemu-iotests: resolved the problem that the 108 test
cases in the container fail
The loop device cannot be created in the compilation environment of the
container. Therefore, a judgment condition is added to the
initialization variable loopdev to check whether loop-control exists.
Signed-off-by: Adttil <2429917001@qq.com>
---
tests/qemu-iotests/108 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/qemu-iotests/108 b/tests/qemu-iotests/108
index 54e935acf2..a6fe261265 100755
--- a/tests/qemu-iotests/108
+++ b/tests/qemu-iotests/108
@@ -55,7 +55,7 @@ _supported_os Linux
_unsupported_imgopts 'refcount_bits=\([^1]\|.\([^6]\|$\)\)' data_file
# This test either needs sudo -n losetup or FUSE exports to work
-if sudo -n losetup &>/dev/null; then
+if test -c "/dev/loop-control" && sudo -n losetup &>/dev/null; then
loopdev=true
else
loopdev=false
--
2.27.0
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。