Skip to contentSkip to conversation

fstests: cifs uses volname_prefix too

PATCH New Scott Mayhew 1 participant 1 message Apr 22, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fstests: cifs uses volname_prefix too

Commit c369760 added a conditional to set volname_prefix only when testing NFS. The CIFS testing (which was added a few days earlier) also needs volname_prefix, so update the conditional.

Fixes c369760 ('fstests: Set the export name only for fstype == "nfs"')
---
 playbooks/roles/fstests/tasks/main.yml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
playbooks/roles/fstests/tasks/main.yml +2 -1
index 6a78ff0..65efabc 100644
@@ -726,7 +726,8 @@
   set_fact:
     volname_prefix: "{{ ansible_host }}-fstests"
   when:
-    - fstests_fstyp == "nfs"
+    - fstests_fstyp == "nfs" or
+      fstests_fstyp == "cifs"
 
 - name: Create NFS export for test vol
   include_role:
Signature · 1 line
2.44.0