Re: SMB client testing wiki

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 8/26/2022 10:53 AM, Paulo Alcantara wrote:
Tom Talpey <tom@xxxxxxxxxx> 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 ...

Easy enough! How do I know if it "passes" though? My understanding
is that a bunch of tests are expected to fail, or at least warn.
Do I need to test a clean client, then compare results? Or am I
misunderstanding, and FSTYP=cifs is taking care of it?

I'll probably be specifying vers=3.1.1 :)

Are MFS symlinks required to run the tests? That's a surprise.

Tom.



[Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux