Xfstesting-cifs: Difference between revisions

From SambaWiki
No edit summary
No edit summary
Line 20: Line 20:
sudo useradd fsgqa
sudo useradd fsgqa
<li>Edit the local.config file
<li>Edit the local.config file
<li>Make sure you have at least 40GB disk space free on your test target
<li>Run the tests<br />
./check -cifs
</li>
</li>
</ol>
</ol>

Revision as of 21:21, 17 September 2014

Please update if you see corrections ...


[Setting up the tests]
The xfstest suite has been updated to make it easier to test cifs (and smb3).

  1. First clone the tree:
    git clone git://oss.sgi.com/xfs/cmds/xfstests and also git clone git://oss.sgi.com/xfs/cmds/xfsprogs
  2. Build the source
    sudo yum install uuid-devel e2fsprogs-devel libuuid-devel libattr-devel libacl-devel libaio-dev
    cd xfsprogs
    make
    sudo make install-qa
    cd ../xfstests
    ./configure
    make
  3. Add the secondary test userid if it does not already exist
    sudo useradd fsgqa
  4. Edit the local.config file
  5. Make sure you have at least 40GB disk space free on your test target
  6. Run the tests
    ./check -cifs


[Current Test Results]

  1. failing test cases
    1. To current Windows (SMB3 or later): generic/011 generic/023 generic/075 generic/088 generic/089 generic/091 generic/126 generic/127 generic/184 generic/192 generic/245 generic/263 generic/313
    2. To current Windows (using CIFS dialect instead of SMB3):
    3. To current Samba (CIFS with POSIX extensions):
  2. test cases that need new cifs features to run
  3. test cases that need xfstest itself to be updated to run over cifs/smb3
    Includes any with SCRATCH_DEV requirement (patches to xfstest exist to get these to run over a network file system)