crypt32/tests: Improve test output.
This commit is contained in:
parent
0da26cfc4c
commit
f98c896e8a
|
@ -101,7 +101,7 @@ static void test_AddRemoveProvider(void)
|
||||||
skip("Need admin rights\n");
|
skip("Need admin rights\n");
|
||||||
return;
|
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
|
/* Dummy provider will be deleted, but the function still fails because
|
||||||
* pwszIsFunctionName and pwszIsFunctionNameFmt2 are not present in the
|
* pwszIsFunctionName and pwszIsFunctionNameFmt2 are not present in the
|
||||||
|
@ -132,12 +132,12 @@ static void test_AddRemoveProvider(void)
|
||||||
newprov.pwszIsFunctionName = dummyfunction;
|
newprov.pwszIsFunctionName = dummyfunction;
|
||||||
SetLastError(0xdeadbeef);
|
SetLastError(0xdeadbeef);
|
||||||
ret = CryptSIPAddProvider(&newprov);
|
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 */
|
/* Dummy provider should be deleted */
|
||||||
SetLastError(0xdeadbeef);
|
SetLastError(0xdeadbeef);
|
||||||
ret = CryptSIPRemoveProvider(&actionid);
|
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[] = {
|
static const BYTE cabFileData[] = {
|
||||||
|
|
Loading…
Reference in New Issue