Changeset 62723 in vbox for trunk/src/VBox/Runtime/testcase
- Timestamp:
- Jul 30, 2016 12:02:01 AM (8 years ago)
- Location:
- trunk/src/VBox/Runtime/testcase
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/testcase/tstRTDirCreateUniqueNumbered.cpp
r62477 r62723 59 59 /* The test loop. */ 60 60 size_t i; 61 for (i = 0; i < cTimes ; i++)61 for (i = 0; i < cTimes + 1; i++) 62 62 { 63 63 char szName[RTPATH_MAX]; … … 118 118 * Create some test directories. 119 119 */ 120 tst1(1, 1, 0);120 tst1(1, 1, '\0'); 121 121 tst1(2, 1, '-'); 122 tst1(3, 2, 0);122 tst1(3, 2, '\0'); 123 123 tst1(4, 2, '-'); 124 124 -
trunk/src/VBox/Runtime/testcase/tstStrToNum.cpp
r62477 r62723 189 189 { "4564678", 0, VINF_SUCCESS, 4564678 }, 190 190 { "4564678", 10, VINF_SUCCESS, 4564678 }, 191 { "-1234567890123456789", 0, VWRN_NUMBER_TOO_BIG, (int32_t) -1234567890123456789LL},192 { "-1234567890123456789", 10, VWRN_NUMBER_TOO_BIG, (int32_t) -1234567890123456789LL},193 { "1234567890123456789", 0, VWRN_NUMBER_TOO_BIG, (int32_t) 1234567890123456789LL},194 { "1234567890123456789", 10, VWRN_NUMBER_TOO_BIG, (int32_t) 1234567890123456789LL},191 { "-1234567890123456789", 0, VWRN_NUMBER_TOO_BIG, (int32_t)((uint64_t)INT64_C(-1234567890123456789) & UINT32_MAX) }, 192 { "-1234567890123456789", 10, VWRN_NUMBER_TOO_BIG, (int32_t)((uint64_t)INT64_C(-1234567890123456789) & UINT32_MAX) }, 193 { "1234567890123456789", 0, VWRN_NUMBER_TOO_BIG, (int32_t)(INT64_C(1234567890123456789) & UINT32_MAX) }, 194 { "1234567890123456789", 10, VWRN_NUMBER_TOO_BIG, (int32_t)(INT64_C(1234567890123456789) & UINT32_MAX) }, 195 195 { "0x", 0, VWRN_TRAILING_CHARS, 0 }, 196 196 { "0x1", 0, VINF_SUCCESS, 1 },
Note:
See TracChangeset
for help on using the changeset viewer.