]> git.saurik.com Git - wxWidgets.git/commitdiff
corrected wxExecute() tests
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 8 Sep 2002 00:46:38 +0000 (00:46 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 8 Sep 2002 00:46:38 +0000 (00:46 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17069 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/console/console.cpp

index ecee38a13785edb7637f152018ef00e05b1e53b5..634f988399c1e291f9776d7eeef0be29a114a6b6 100644 (file)
@@ -92,7 +92,7 @@
     #undef TEST_ALL
     static const bool TEST_ALL = TRUE;
 #else
-    #define TEST_DLLLOADER
+    #define TEST_EXECUTE
 
     static const bool TEST_ALL = FALSE;
 #endif
@@ -551,7 +551,7 @@ static void TestExecute()
     #define SHELL_COMMAND "echo hi from shell"
     #define REDIRECT_COMMAND COMMAND // "date"
 #elif defined(__WXMSW__)
-    #define COMMAND "command.com -c 'echo hi'"
+    #define COMMAND "command.com /c echo hi"
     #define SHELL_COMMAND "echo hi"
     #define REDIRECT_COMMAND COMMAND
 #else