[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 2/5] tests/qemu-iotests: skip 108 when FUSE is not loaded
From: |
John Snow |
Subject: |
[PATCH 2/5] tests/qemu-iotests: skip 108 when FUSE is not loaded |
Date: |
Mon, 13 Jun 2022 21:50:41 -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 | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/tests/qemu-iotests/108 b/tests/qemu-iotests/108
index 9e923d6a59f..e401c5e9933 100755
--- a/tests/qemu-iotests/108
+++ b/tests/qemu-iotests/108
@@ -60,6 +60,12 @@ if sudo -n losetup &>/dev/null; then
else
loopdev=false
+ # Check for fuse support in the host environment:
+ lsmod | grep fuse &>/dev/null;
+ if [[ $? -ne 0 ]]; then
+ _notrun 'No Passwordless sudo nor FUSE kernel module'
+ 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 0/5] Update CentOS VM tests, John Snow, 2022/06/13
- [PATCH 2/5] tests/qemu-iotests: skip 108 when FUSE is not loaded,
John Snow <=
- Re: [PATCH 2/5] tests/qemu-iotests: skip 108 when FUSE is not loaded, Thomas Huth, 2022/06/14
- Re: [PATCH 2/5] tests/qemu-iotests: skip 108 when FUSE is not loaded, Daniel P . Berrangé, 2022/06/14
- Re: [PATCH 2/5] tests/qemu-iotests: skip 108 when FUSE is not loaded, John Snow, 2022/06/14
- Re: [PATCH 2/5] tests/qemu-iotests: skip 108 when FUSE is not loaded, John Snow, 2022/06/15
- Re: [PATCH 2/5] tests/qemu-iotests: skip 108 when FUSE is not loaded, Daniel P . Berrangé, 2022/06/15
- Re: [PATCH 2/5] tests/qemu-iotests: skip 108 when FUSE is not loaded, John Snow, 2022/06/15
- Re: [PATCH 2/5] tests/qemu-iotests: skip 108 when FUSE is not loaded, Daniel P . Berrangé, 2022/06/15
[PATCH 1/5] tests/qemu-iotests: hotfix for 307, 223 output, John Snow, 2022/06/13
[PATCH 3/5] tests/vm: use 'cp' instead of 'ln' for temporary vm images, John Snow, 2022/06/13