Hi, Can somebody provide a documentation for "SMBTORTURE" test suite available with Samba. I am trying to learn about the individual test options available with smbtorture. Detailed information about each test will be of great help. thanks in advance Jisha
Hi Jisha, The best documentation about the test suite to my knowledge is: https://wiki.samba.org/index.php/Writing_Torture_Tests This has a lot of information about how to run tests, including different test options. If you're interested in exactly what the tests do, two potentially useful files are samba/source3/selftest/tests.py and samba/source4/selftest/tests.py, which contain a lot of (all?) the names of tests to run, and can help you to locate the source of the tests. Thanks, Bob On 07/12/16 01:05, Jisha Joy via samba wrote:> Hi, > > Can somebody provide a documentation for "SMBTORTURE" test suite available with Samba. > I am trying to learn about the individual test options available with smbtorture. > Detailed information about each test will be of great help. > > thanks in advance > Jisha >
On Tue, Dec 06, 2016 at 05:05:17AM -0700, Jisha Joy via samba wrote:> Hi, > > Can somebody provide a documentation for "SMBTORTURE" test suite available with Samba. > I am trying to learn about the individual test options available with smbtorture. > Detailed information about each test will be of great help.No, there are no docs for the tests and unless someone external writes them there won't be. The tests are written around specific Samba bugs to prevent regressions - they're not meant as a general purpose testing tool (although many people use them as such). The best way to discover what a specific test does is to look at the source code.
Thank you Bob for the information! :) regards Jisha >>> Bob Campbell via samba <samba at lists.samba.org> 12/7/2016 2:37 AM >>> Hi Jisha, The best documentation about the test suite to my knowledge is: https://wiki.samba.org/index.php/Writing_Torture_Tests This has a lot of information about how to run tests, including different test options. If you're interested in exactly what the tests do, two potentially useful files are samba/source3/selftest/tests.py and samba/source4/selftest/tests.py, which contain a lot of (all?) the names of tests to run, and can help you to locate the source of the tests. Thanks, Bob On 07/12/16 01:05, Jisha Joy via samba wrote:> Hi, > > Can somebody provide a documentation for "SMBTORTURE" test suite available with Samba. > I am trying to learn about the individual test options available with smbtorture. > Detailed information about each test will be of great help. > > thanks in advance > Jisha >-- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba