kdevops.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
From: Scott Mayhew <smayhew@redhat.com>
To: kdevops@lists.linux.dev
Cc: chuck.lever@oracle.com
Subject: [PATCH] fstests: cifs uses volname_prefix too
Date: Sun, 21 Apr 2024 21:09:51 -0400	[thread overview]
Message-ID: <20240422010951.2554631-1-smayhew@redhat.com> (raw)

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"')
Signed-off-by: Scott Mayhew <smayhew@redhat.com>
---
 playbooks/roles/fstests/tasks/main.yml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/playbooks/roles/fstests/tasks/main.yml b/playbooks/roles/fstests/tasks/main.yml
index 6a78ff0..65efabc 100644
--- a/playbooks/roles/fstests/tasks/main.yml
+++ b/playbooks/roles/fstests/tasks/main.yml
@@ -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:
-- 
2.44.0


                 reply	other threads:[~2024-04-22  1:09 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240422010951.2554631-1-smayhew@redhat.com \
    --to=smayhew@redhat.com \
    --cc=chuck.lever@oracle.com \
    --cc=kdevops@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).