Changeset 57004 in vbox for trunk/src/VBox
- Timestamp:
- Jul 19, 2015 12:53:13 AM (9 years ago)
- Location:
- trunk/src/VBox
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Disassembler/testcase/tstDisasm-1.cpp
r56297 r57004 70 70 if (cErrBefore != RTTestIErrorCount()) 71 71 RTTestIFailureDetails("rc=%Rrc, off=%#x (%u) cbInstr=%u enmDisCpuMode=%d\n", 72 rc, off, Dis.cbInstr, enmDisCpuMode);72 rc, off, off, Dis.cbInstr, enmDisCpuMode); 73 73 RTTestIPrintf(RTTESTLVL_ALWAYS, "%s\n", szOutput); 74 74 -
trunk/src/VBox/HostDrivers/Support/SUPLibLdr.cpp
r56982 r57004 280 280 pszModule ? pszModule : "", 281 281 pszModule && *pszModule ? "." : "", 282 pszSymbol, 282 283 pArgs->pszModule); 283 284 } -
trunk/src/VBox/HostDrivers/Support/testcase/tstSupSem.cpp
r56293 r57004 342 342 343 343 RTTESTI_CHECK_RC(SUPSemEventClose(pSession, hEvent), VINF_OBJECT_DESTROYED); 344 RTTestValueF(hTest, cInterrupted, RTTESTUNIT_OCCURRENCES, "VERR_INTERRUPTED returned" , cInterrupted);344 RTTestValueF(hTest, cInterrupted, RTTESTUNIT_OCCURRENCES, "VERR_INTERRUPTED returned"); 345 345 } 346 346 … … 396 396 397 397 RTTESTI_CHECK_RC(SUPSemEventMultiClose(pSession, hEvent), VINF_OBJECT_DESTROYED); 398 RTTestValueF(hTest, cInterrupted, RTTESTUNIT_OCCURRENCES, "VERR_INTERRUPTED returned" , cInterrupted);398 RTTestValueF(hTest, cInterrupted, RTTESTUNIT_OCCURRENCES, "VERR_INTERRUPTED returned"); 399 399 } 400 400 } … … 458 458 459 459 RTTESTI_CHECK_RC(SUPSemEventClose(pSession, hEvent), VINF_OBJECT_DESTROYED); 460 RTTestValueF(hTest, cInterrupted, RTTESTUNIT_OCCURRENCES, "VERR_INTERRUPTED returned" , cInterrupted);460 RTTestValueF(hTest, cInterrupted, RTTESTUNIT_OCCURRENCES, "VERR_INTERRUPTED returned"); 461 461 } 462 462 … … 513 513 514 514 RTTESTI_CHECK_RC(SUPSemEventMultiClose(pSession, hEvent), VINF_OBJECT_DESTROYED); 515 RTTestValueF(hTest, cInterrupted, RTTESTUNIT_OCCURRENCES, "VERR_INTERRUPTED returned" , cInterrupted);515 RTTestValueF(hTest, cInterrupted, RTTESTUNIT_OCCURRENCES, "VERR_INTERRUPTED returned"); 516 516 } 517 517 … … 569 569 570 570 RTTESTI_CHECK_RC(SUPSemEventClose(pSession, hEvent), VINF_OBJECT_DESTROYED); 571 RTTestValueF(hTest, cInterrupted, RTTESTUNIT_OCCURRENCES, "VERR_INTERRUPTED returned" , cInterrupted);571 RTTestValueF(hTest, cInterrupted, RTTESTUNIT_OCCURRENCES, "VERR_INTERRUPTED returned"); 572 572 } 573 573 … … 626 626 627 627 RTTESTI_CHECK_RC(SUPSemEventMultiClose(pSession, hEvent), VINF_OBJECT_DESTROYED); 628 RTTestValueF(hTest, cInterrupted, RTTESTUNIT_OCCURRENCES, "VERR_INTERRUPTED returned" , cInterrupted);628 RTTestValueF(hTest, cInterrupted, RTTESTUNIT_OCCURRENCES, "VERR_INTERRUPTED returned"); 629 629 } 630 630 -
trunk/src/VBox/Runtime/common/asn1/asn1-ut-string.cpp
r56290 r57004 763 763 *pUniCp = RTUNICP_INVALID; 764 764 return RTErrInfoSetF(pThis->pErrInfo, VERR_ASN1_INVALID_T61_STRING_ENCODING, 765 "@%u: GL b=%#x is marked unused in map # u range %u.",765 "@%u: GL b=%#x is marked unused in map #%u range %u.", 766 766 pThis->offString, b + 0x20, pMap->uRegistration, pMap->cToUni); 767 767 } 768 768 *pUniCp = RTUNICP_INVALID; 769 769 return RTErrInfoSetF(pThis->pErrInfo, VERR_ASN1_INVALID_T61_STRING_ENCODING, 770 "@%u: GL b=%#x is outside map # u range %u.",770 "@%u: GL b=%#x is outside map #%u range %u.", 771 771 pThis->offString, b + 0x20, pMap->uRegistration, pMap->cToUni); 772 772 } … … 792 792 *pUniCp = RTUNICP_INVALID; 793 793 return RTErrInfoSetF(pThis->pErrInfo, VERR_ASN1_INVALID_T61_STRING_ENCODING, 794 "@%u: GL b=%#x is marked unused in map # u.",794 "@%u: GL b=%#x is marked unused in map #%u.", 795 795 pThis->offString, b + 0x20, pMap->uRegistration); 796 796 } … … 803 803 *pUniCp = RTUNICP_INVALID; 804 804 return RTErrInfoSetF(pThis->pErrInfo, VERR_ASN1_INVALID_T61_STRING_ENCODING, 805 "@%u: GL u16=%#x (b0=%#x b1=%#x) is outside map # u range %u.",805 "@%u: GL u16=%#x (b0=%#x b1=%#x) is outside map #%u range %u.", 806 806 pThis->offString, u16, b + 0x20, b2 + 0x20, pMap->uRegistration, pMap->cToUni); 807 807 } 808 808 return RTErrInfoSetF(pThis->pErrInfo, VERR_ASN1_INVALID_T61_STRING_ENCODING, 809 "@%u: 2nd GL byte outside GL range: b0=%#x b1=%#x (map # u)",809 "@%u: 2nd GL byte outside GL range: b0=%#x b1=%#x (map #%u)", 810 810 pThis->offString, b + 0x20, b2 + 0x20, pMap->uRegistration); 811 811 812 812 } 813 813 return RTErrInfoSetF(pThis->pErrInfo, VERR_ASN1_INVALID_T61_STRING_ENCODING, 814 "@%u: EOS reading 2nd byte for GL b=%#x (map # u).",814 "@%u: EOS reading 2nd byte for GL b=%#x (map #%u).", 815 815 pThis->offString, b + 0x20, pMap->uRegistration); 816 816 } … … 844 844 else 845 845 return RTErrInfoSetF(pThis->pErrInfo, VERR_ASN1_INVALID_T61_STRING_ENCODING, 846 "@%u: C0 b=%#x is marked unused in map # u.",846 "@%u: C0 b=%#x is marked unused in map #%u.", 847 847 pThis->offString, b, pThis->pMapC0->uRegistration); 848 848 } … … 874 874 *pUniCp = RTUNICP_INVALID; 875 875 return RTErrInfoSetF(pThis->pErrInfo, VERR_ASN1_INVALID_T61_STRING_ENCODING, 876 "@%u: GR b=%#x is marked unused in map # u.",876 "@%u: GR b=%#x is marked unused in map #%u.", 877 877 pThis->offString, b + 0xa0, pMap->uRegistration); 878 878 } 879 879 *pUniCp = RTUNICP_INVALID; 880 880 return RTErrInfoSetF(pThis->pErrInfo, VERR_ASN1_INVALID_T61_STRING_ENCODING, 881 "@%u: GR b=%#x is outside map # u range %u",881 "@%u: GR b=%#x is outside map #%u range %u", 882 882 pThis->offString, b + 0xa0, pMap->uRegistration, pMap->cToUni); 883 883 } … … 904 904 *pUniCp = RTUNICP_INVALID; 905 905 return RTErrInfoSetF(pThis->pErrInfo, VERR_ASN1_INVALID_T61_STRING_ENCODING, 906 "@%u: GR b=%#x is marked unused in map # u.",906 "@%u: GR b=%#x is marked unused in map #%u.", 907 907 pThis->offString, b + 0xa0, pMap->uRegistration); 908 908 } 909 909 *pUniCp = RTUNICP_INVALID; 910 910 return RTErrInfoSetF(pThis->pErrInfo, VERR_ASN1_INVALID_T61_STRING_ENCODING, 911 "@%u: GR u16=%#x (b0=%#x b1=%#x) is outside map # u range %u.",911 "@%u: GR u16=%#x (b0=%#x b1=%#x) is outside map #%u range %u.", 912 912 pThis->offString, u16, b + 0xa0, b2 + 0xa0, pMap->uRegistration, pMap->cToUni); 913 913 } 914 914 return RTErrInfoSetF(pThis->pErrInfo, VERR_ASN1_INVALID_T61_STRING_ENCODING, 915 "@%u: 2nd GR byte outside GR range: b0=%#x b1=%#x (map # u).",915 "@%u: 2nd GR byte outside GR range: b0=%#x b1=%#x (map #%u).", 916 916 pThis->offString, b + 0xa0, b2 + 0xa0, pMap->uRegistration); 917 917 918 918 } 919 919 return RTErrInfoSetF(pThis->pErrInfo, VERR_ASN1_INVALID_T61_STRING_ENCODING, 920 "@%u: EOS reading 2nd byte for GR b=%#x (map # u).",920 "@%u: EOS reading 2nd byte for GR b=%#x (map #%u).", 921 921 pThis->offString, b + 0xa0, pMap->uRegistration); 922 922 } … … 947 947 else 948 948 return RTErrInfoSetF(pThis->pErrInfo, VERR_ASN1_INVALID_T61_STRING_ENCODING, 949 "@%u: C1 b=%#x is marked unused in map # u.",949 "@%u: C1 b=%#x is marked unused in map #%u.", 950 950 pThis->offString, b + 0x80, pThis->pMapC1->uRegistration); 951 951 } -
trunk/src/VBox/Runtime/common/crypto/pkcs7-sanity.cpp
r56290 r57004 110 110 return RTErrInfoSetF(pErrInfo, VERR_CR_PKCS7_SIGNER_INFO_VERSION, 111 111 "SignedData.SignerInfos[%u] version is %llu, expected %u", 112 pSignerInfo->Version.uValue.u, RTCRPKCS7SIGNERINFO_V1);112 i, pSignerInfo->Version.uValue.u, RTCRPKCS7SIGNERINFO_V1); 113 113 114 114 /* IssuerAndSerialNumber. */ -
trunk/src/VBox/Runtime/r3/test.cpp
r56290 r57004 1259 1259 if (!pTest->cErrors) 1260 1260 { 1261 RTTestPrintfNl(hTest, RTTESTLVL_ALWAYS, "SUCCESS\n" , pTest->cErrors);1261 RTTestPrintfNl(hTest, RTTESTLVL_ALWAYS, "SUCCESS\n"); 1262 1262 enmExitCode = RTEXITCODE_SUCCESS; 1263 1263 } … … 1287 1287 if (pszReasonFmt) 1288 1288 RTTestPrintfNlV(hTest, RTTESTLVL_FAILURE, pszReasonFmt, va); 1289 RTTestPrintfNl(hTest, RTTESTLVL_ALWAYS, "SKIPPED\n" , pTest->cErrors);1289 RTTestPrintfNl(hTest, RTTESTLVL_ALWAYS, "SKIPPED\n"); 1290 1290 enmExitCode = RTEXITCODE_SKIPPED; 1291 1291 } -
trunk/src/VBox/Runtime/testcase/tstRTBase64.cpp
r56290 r57004 93 93 cchOut, cchEnc); 94 94 else if (fNormalEnc && memcmp(szOut, pszEnc, cchOut + 1)) 95 RTTestIFailed("RTBase64Encode returned:\n% *s\nexpected:\n%s\n",96 s zOut, pszEnc);95 RTTestIFailed("RTBase64Encode returned:\n%.*s\nexpected:\n%s\n", 96 sizeof(szOut), szOut, pszEnc); 97 97 98 98 size_t cchOut2 = RTBase64EncodedLength(cbData); -
trunk/src/VBox/Runtime/testcase/tstRTList.cpp
r56290 r57004 101 101 } 102 102 RTTEST_CHECK_MSG_RETV(hTest, idx == idxFirst - idxStep || (idx == idxLast && idxFirst == idxLast), 103 (hTest, "idx=%u idxFirst=%u idxLast idxStep=%u\n", idx, idxFirst, idxLast, idxStep));103 (hTest, "idx=%u idxFirst=%u idxLast=%u idxStep=%u\n", idx, idxFirst, idxLast, idxStep)); 104 104 } 105 105 -
trunk/src/VBox/Storage/testcase/vditool.cpp
r54574 r57004 398 398 PRTLOGGER pLogger; 399 399 static const char * const s_apszGroups[] = VBOX_LOGGROUP_NAMES; 400 int rc = RTLogCreate(&pLogger, 0, "all", 401 NULL, RT_ELEMENTS(s_apszGroups), s_apszGroups, RTLOGDEST_STDOUT, 402 NULL /* pfnBeginEnd */, 0 /* cHistory */, 0 /* cbHistoryFileMax */, 0 /* uHistoryTimeMax */, 403 NULL); 400 int rc = RTLogCreate(&pLogger, 0 /*fFlags*/, "all" /*pszGroupSettings*/, 401 NULL /*pszEnvVarBase*/, RT_ELEMENTS(s_apszGroups), s_apszGroups, RTLOGDEST_STDOUT, 402 NULL /*pszFilenameFmt*/); 404 403 RTLogRelSetDefaultInstance(pLogger); 405 404 -
trunk/src/VBox/ValidationKit/utils/network/NetPerf.cpp
r56756 r57004 360 360 rc = RTTcpRead(hSocket, szBuf, sizeof(g_szAck) - 1, NULL); 361 361 if (RT_FAILURE(rc)) 362 return RTTestIFailedRc(rc, "stats: failed to write stats: %Rrc\n", szBuf,rc);362 return RTTestIFailedRc(rc, "stats: failed to write stats: %Rrc\n", rc); 363 363 szBuf[sizeof(g_szAck) - 1] = '\0'; 364 364 if (!strcmp(szBuf, g_szNegative)) 365 return RTTestIFailedRc(rc, "stats: client failed to parse them\n" , szBuf);365 return RTTestIFailedRc(rc, "stats: client failed to parse them\n"); 366 366 if (strcmp(szBuf, g_szAck)) 367 367 return RTTestIFailedRc(rc, "stats: got '%s' in instead of ack/nack\n", szBuf); … … 1723 1723 1724 1724 default: 1725 RTTestIFailed("Protocol not supported.\n" , g_pStdErr);1725 RTTestIFailed("Protocol not supported.\n"); 1726 1726 return RTEXITCODE_FAILURE; 1727 1727 }
Note:
See TracChangeset
for help on using the changeset viewer.