-
17
pages
-
English
-
Documents
Description
Using the Samba TestsuiteAndrew TridgellSamba Teamtridge@samba.orgBasic ComponentsThe Samba4 testsuite consists of the following basic components:smbtorture ad-hoc testssmbtorture individual (RAW) testslevel scannerssmbclientgentestlocktestlocktest2masktestHow big is CIFS?The core file sharing part of CIFS currently consists of approximately 140 commandsnb: each trans2 information level is considered a separate commandThe Samba4 test suite currently tests approximately 116 of those commands.The gentest suite covers approximately 60 commandsRunning smbtorturesmbtorture is typically run like this:smbtorture //server/share -Uuser%pass TESTNAMEYou can list the available tests using -h for helpSome tests require additional arguments, see -hWildcards can be used in the TESTNAMEFor randomised tests, it is useful to specifiy the seed so the test can be repeated exactlyRAW testsThe RAW tests in smbtorture are the largest component of the new Samba4 testsuiterun smbtorture with a test argument of RAW-*takes advantage of internal protocol redundencyFor each call every field is tested, where possibleRAW-QFSINFO RAW-QFILEINFO RAW-SFILEINFO RAW-SFILEINFO-BUG RAW-SEARCH RAW-CLOSE RAW-OPEN RAW-MKDIR RAW-OPLOCK RAW-NOTIFY RAW-MUX RAW-IOCTL RAW-CHKPATH RAW-UNLINK RAW-READ RAW-WRITE RAW-LOCK RAW-CONTEXT RAW-RENAME RAW-SEEKRunning RAW-QFSINFORunning level DSKATTRRunning level ALLOCATIONRunning level VOLUMERunning level ...
-
Publié par
-
Langue
English