Changeset 84784 in vbox for trunk/src/VBox/ValidationKit/utils
- Timestamp:
- Jun 11, 2020 7:28:56 AM (5 years ago)
- svn:sync-xref-src-repo-rev:
- 138584
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/utils/TestExecServ/TestExecService.cpp
r84781 r84784 33 33 #include <iprt/asm.h> 34 34 #include <iprt/assert.h> 35 #include <iprt/buildconfig.h> 35 36 #include <iprt/cdrom.h> 36 37 #include <iprt/critsect.h> … … 60 61 #include <iprt/zip.h> 61 62 63 #include "product-generated.h" 62 64 #include "TestExecServiceInternal.h" 63 65 … … 1672 1674 rc = txsReplyBadSize(pPktHdr, sizeof(TXSPKTHDR)); 1673 1675 g_pTransport->pfnNotifyBye(); 1676 return rc; 1677 } 1678 1679 /** 1680 * Verifies and acknowledges a "VER" request. 1681 * 1682 * @returns IPRT status code. 1683 * @param pPktHdr The howdy packet. 1684 */ 1685 static int txsDoVer(PCTXSPKTHDR pPktHdr) 1686 { 1687 int rc; 1688 if (pPktHdr->cb == sizeof(TXSPKTHDR)) 1689 { 1690 rc = txsReplyRC(pPktHdr, VINF_SUCCESS, "%s r%s %s%s (%s %s)", 1691 RTBldCfgVersion(), RTBldCfgRevisionStr(), KBUILD_TARGET, KBUILD_TARGET_ARCH, __DATE__, __TIME__); 1692 } 1693 else 1694 rc = txsReplyBadSize(pPktHdr, sizeof(TXSPKTHDR)); 1674 1695 return rc; 1675 1696 } … … 2988 3009 static RTEXITCODE txsMainLoop(void) 2989 3010 { 3011 RTMsgInfo("Version %s r%s %s%s (%s %s)\n", 3012 RTBldCfgVersion(), RTBldCfgRevisionStr(), KBUILD_TARGET, KBUILD_TARGET_ARCH, __DATE__, __TIME__); 3013 2990 3014 if (g_cVerbose > 0) 2991 3015 RTMsgInfo("txsMainLoop: start...\n"); … … 3011 3035 else if (txsIsSameOpcode(pPktHdr, "BYE ")) 3012 3036 rc = txsDoBye(pPktHdr); 3037 else if (txsIsSameOpcode(pPktHdr, "VER ")) 3038 rc = txsDoVer(pPktHdr); 3013 3039 else if (txsIsSameOpcode(pPktHdr, "UUID ")) 3014 3040 rc = txsDoUuid(pPktHdr);
Note:
See TracChangeset
for help on using the changeset viewer.