All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paulo Alcantara <pc@cjr.nz>
To: Tom Talpey <tom@talpey.com>, linux-cifs@vger.kernel.org
Subject: Re: SMB client testing wiki
Date: Fri, 26 Aug 2022 11:53:19 -0300	[thread overview]
Message-ID: <878rnb3vkw.fsf@cjr.nz> (raw)
In-Reply-To: <8bcbba74-d6ce-3c40-4655-e67bf75f3b3f@talpey.com>

Tom Talpey <tom@talpey.com> writes:

> Is there an updated list of tests expected to pass, and/or
> any update for the scripting? Anything else I need to run in
> a basic local environment, to test smb3.ko client to ksmbd.ko
> and Samba servers on a pair of test machines?

For the testing environment, I'd say there is nothing special.  Just
create two shares in both samba and ksmbd servers and specify them in
local.config when running xfstests.  We usually name them as 'test' and
'scratch', respectively.

For testing SMB3 over samba, you would have something like this in your
local.config:

  [smb3samba]
  FSTYP=cifs
  TEST_DEV=//tom.samba/test
  TEST_DIR=/mnt/test
  TEST_FS_MOUNT_OPTS='-ousername=tom,password=***,noperm,vers=3.0,mfsymlinks'
  export MOUNT_OPTIONS='-ousername=tom,password=***,noperm,vers=3.0,mfsymlinks'
  export SCRATCH_DEV=//tom.samba/scratch
  export SCRATCH_MNT=/mnt/scratch

and then run xfstests

  ./check -s smb3samba ...

  reply	other threads:[~2022-08-26 14:53 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-26 14:05 SMB client testing wiki Tom Talpey
2022-08-26 14:53 ` Paulo Alcantara [this message]
2022-08-26 15:11   ` Tom Talpey
2022-08-26 16:01     ` Paulo Alcantara
2022-08-26 16:56       ` Tom Talpey
2022-08-26 17:10         ` Paulo Alcantara
     [not found]   ` <CAH2r5msqW0RnNxETt=2Ec3Eq3o+RFgR+bQB6DFoCvBaNE2Hx4A@mail.gmail.com>
2022-08-26 15:25     ` Tom Talpey

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=878rnb3vkw.fsf@cjr.nz \
    --to=pc@cjr.nz \
    --cc=linux-cifs@vger.kernel.org \
    --cc=tom@talpey.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.