[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 02/10] tests/qemu-iotests: skip 108 when FUSE is not loaded
From: |
John Snow |
Subject: |
[PATCH v2 02/10] tests/qemu-iotests: skip 108 when FUSE is not loaded |
Date: |
Thu, 16 Jun 2022 10:26:51 -0400 |
In certain container environments we may not have FUSE at all, so skip
the test in this circumstance too.
Signed-off-by: John Snow <jsnow@redhat.com>
---
tests/qemu-iotests/108 | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/tests/qemu-iotests/108 b/tests/qemu-iotests/108
index 9e923d6a59f..54e935acf28 100755
--- a/tests/qemu-iotests/108
+++ b/tests/qemu-iotests/108
@@ -60,6 +60,11 @@ if sudo -n losetup &>/dev/null; then
else
loopdev=false
+ # Check for usable FUSE in the host environment:
+ if test ! -c "/dev/fuse"; then
+ _notrun 'No passwordless sudo nor usable /dev/fuse'
+ fi
+
# QSD --export fuse will either yield "Parameter 'id' is missing"
# or "Invalid parameter 'fuse'", depending on whether there is
# FUSE support or not.
--
2.34.3
[PATCH v2 02/10] tests/qemu-iotests: skip 108 when FUSE is not loaded,
John Snow <=
[PATCH v2 04/10] tests/vm: use 'cp' instead of 'ln' for temporary vm images, John Snow, 2022/06/16
[PATCH v2 06/10] tests/vm: switch centos.aarch64 to CentOS 8 Stream, John Snow, 2022/06/16
[PATCH v2 07/10] tests/vm: update sha256sum for ubuntu.aarch64, John Snow, 2022/06/16
[PATCH v2 05/10] tests/vm: switch CentOS 8 to CentOS 8 Stream, John Snow, 2022/06/16
[PATCH v2 08/10] tests/vm: remove ubuntu.i386 VM test, John Snow, 2022/06/16
[PATCH v2 09/10] tests/vm: remove duplicate 'centos' VM test, John Snow, 2022/06/16
[PATCH v2 10/10] tests/vm: add 512MB extra memory per core, John Snow, 2022/06/16