Question on Test Cases

Jeffrey Walton noloader at gmail.com
Wed Nov 24 07:07:46 CET 2010


Hi All,

According to Contributing [1]:

    Return errors. No reason whatsoever should abort the execution
    of the library. Even memory allocation errors, e.g. when malloc
    return NULL, should work although result in an error code.

Are negative test cases accepted and welcomed? Or should the test
cases only be positive?

Jeff

[1] http://www.gnu.org/software/gnutls/manual/html_node/Contributing.html




More information about the Gnutls-devel mailing list