Module: wine Branch: refs/heads/master Commit: ca777c090f3e0b69c354482a19ccbc38caa585ed URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=ca777c090f3e0b69c354482a...
Author: Eric Pouech eric.pouech@wanadoo.fr Date: Tue Feb 14 11:38:26 2006 +0100
tests: Fixed test framework against environment modifications.
---
include/wine/test.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/include/wine/test.h b/include/wine/test.h index 279d5bd..01a9035 100644 --- a/include/wine/test.h +++ b/include/wine/test.h @@ -383,7 +383,7 @@ int main( int argc, char **argv ) winetest_argc = argc; winetest_argv = argv;
- if ((p = getenv( "WINETEST_PLATFORM" ))) winetest_platform = p; + if ((p = getenv( "WINETEST_PLATFORM" ))) winetest_platform = strdup(p); if ((p = getenv( "WINETEST_DEBUG" ))) winetest_debug = atoi(p); if ((p = getenv( "WINETEST_INTERACTIVE" ))) winetest_interactive = atoi(p); if ((p = getenv( "WINETEST_REPORT_SUCCESS"))) report_success = atoi(p);