Author: spetreolle
Date: Sun Jul 6 18:09:58 2014
New Revision: 63698
URL:
http://svn.reactos.org/svn/reactos?rev=63698&view=rev
Log:
[DBGPRINT]
--winetest mode: Use --list to get the tests list.
Dedicated to Christoph :)
Modified:
trunk/reactos/base/applications/cmdutils/dbgprint/dbgprint.c
Modified: trunk/reactos/base/applications/cmdutils/dbgprint/dbgprint.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/cmdutils…
==============================================================================
--- trunk/reactos/base/applications/cmdutils/dbgprint/dbgprint.c [iso-8859-1] (original)
+++ trunk/reactos/base/applications/cmdutils/dbgprint/dbgprint.c [iso-8859-1] Sun Jul 6
18:09:58 2014
@@ -43,7 +43,9 @@
FILE *pPipe2;
/* get available tests */
- pPipe = _tpopen(argv[2], "r");
+ strcpy(cmd, argv[2]);
+ strcat(cmd, " --list");
+ pPipe = _tpopen(cmd, "r");
if (pPipe != NULL)
{
while(fgets(psBuffer, 128, pPipe))