[SCM] Samba Shared Repository - branch master updated- release-4-0-0alpha8-349-g5334b79
steven.danneman at isilon.com
Thu Jul 16 00:09:56 MDT 2009
> Yes, please make sure you use torture_comment() instead of printf() and
> all torture_assert* functions instead of just returning false in a
> test. Then make test reports them as failures instead of errors and
> it's easy to mark them as known failures. This makes sure that the
> server doesn't crash when the test runs against it.
Excellent, thanks Metze. Do we have any kind of document that describes best practices for writing torture tests? If not I can start a wiki page.
Thus, far I have mostly copied style from other tests, but obviously there is a mix of several different approaches added over the years.
More information about the samba-cvs