Commit f98c896e authored by André Hentschel's avatar André Hentschel Committed by Alexandre Julliard

crypt32/tests: Improve test output.

parent 0da26cfc
......@@ -101,7 +101,7 @@ static void test_AddRemoveProvider(void)
skip("Need admin rights\n");
return;
}
ok ( ret, "CryptSIPAddProvider should have succeeded\n");
ok ( ret, "CryptSIPAddProvider should have succeeded, last error %d\n", GetLastError());
/* Dummy provider will be deleted, but the function still fails because
* pwszIsFunctionName and pwszIsFunctionNameFmt2 are not present in the
......@@ -132,12 +132,12 @@ static void test_AddRemoveProvider(void)
newprov.pwszIsFunctionName = dummyfunction;
SetLastError(0xdeadbeef);
ret = CryptSIPAddProvider(&newprov);
ok ( ret, "CryptSIPAddProvider should have succeeded\n");
ok ( ret, "CryptSIPAddProvider should have succeeded, last error %d\n", GetLastError());
/* Dummy provider should be deleted */
SetLastError(0xdeadbeef);
ret = CryptSIPRemoveProvider(&actionid);
ok ( ret, "CryptSIPRemoveProvider should have succeeded\n");
ok ( ret, "CryptSIPRemoveProvider should have succeeded, last error %d\n", GetLastError());
}
static const BYTE cabFileData[] = {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment