[3/4] secur32/tests: Add a test for QueryCredentialsAttributes(SECPKG_CRED_ATTR_NAMES). Take 2.

Nikolay Sivov bunglehead at gmail.com
Thu Dec 12 00:12:18 CST 2013


On 12/12/2013 09:13, Dmitry Timoshkov wrote:
> +
> +    st = pQueryCredentialsAttributesA(&cred, SECPKG_CRED_ATTR_NAMES, &names);
> +    ok(st == SEC_E_NO_CREDENTIALS || st == SEC_E_UNSUPPORTED_FUNCTION /* before Vista */, "expected SEC_E_NO_CREDENTIALS, got %08x\n", st);
> +
Second possible return code should be broken(), otherwise your code 
change in next patch won't make any effect on tests.



More information about the wine-devel mailing list