Changeset 45512 in vbox
- Timestamp:
- Apr 12, 2013 10:10:40 AM (11 years ago)
- Location:
- trunk/src/VBox/Runtime/testcase
- Files:
-
- 2 edited
- 1 moved
-
Makefile.kmk (modified) (2 diffs)
-
tstLog.cpp (modified) (2 diffs)
-
tstRTHttp.cpp (moved) (moved from trunk/src/VBox/Runtime/testcase/tstHttp.cpp ) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/testcase/Makefile.kmk
r45131 r45512 66 66 tstFileLock \ 67 67 tstFork \ 68 tst Http \68 tstRTHttp \ 69 69 tstRTFsQueries \ 70 70 tstRTFilesystem \ … … 231 231 232 232 ifdef VBOX_WITH_LIBCURL 233 tst Http_TEMPLATE = VBOXR3TSTEXE234 tst Http_SOURCES = tstHttp.cpp235 tst Http_SDKS = VBOX_LIBCURL233 tstRTHttp_TEMPLATE = VBOXR3TSTEXE 234 tstRTHttp_SOURCES = tstRTHttp.cpp 235 tstRTHttp_SDKS = VBOX_LIBCURL 236 236 endif 237 237 -
trunk/src/VBox/Runtime/testcase/tstLog.cpp
r45174 r45512 31 31 #include <iprt/initterm.h> 32 32 #include <iprt/err.h> 33 #include <iprt/stream.h> 33 34 34 35 #include <stdio.h> … … 37 38 { 38 39 RTR3InitExeNoArguments(0); 40 uint32_t a = 0x80000000, b = 0x80000000, c = 0x80000000; 41 RTPrintf("%d %d", 0x80000000, 0x80000000); 39 42 printf("tstLog: Requires manual inspection of the log output!\n"); 40 43 RTLogPrintf("%%Rrc %d: %Rrc\n", VERR_INVALID_PARAMETER, VERR_INVALID_PARAMETER); -
trunk/src/VBox/Runtime/testcase/tstRTHttp.cpp
r45509 r45512 38 38 #define CAFILE_NAME "tstHttp-tempcafile.crt" 39 39 40 int main( )40 int main(int argc, char **argv) 41 41 { 42 42 unsigned cErrors = 0; 43 43 44 RTR3InitExeNoArguments(0); 44 RTR3InitExe(argc, &argv, 0); 45 46 if (argc <= 1) 47 { 48 RTPrintf("usage: %s default\n", argv[0]); 49 return 1; 50 } 51 52 for (int i = 1; i < argc; i++) 53 { 54 if (!strcmp(argv[i], "default")) 55 ; 56 else 57 { 58 RTPrintf("Unknown parameter '%s'\n", argv[i]); 59 return 1; 60 } 61 } 45 62 46 63 RTHTTP hHttp;
Note:
See TracChangeset
for help on using the changeset viewer.

