tests: Fixed test framework against environment modifications.

This commit is contained in:
Eric Pouech 2006-02-14 11:38:26 +01:00 committed by Alexandre Julliard
parent 8818880b43
commit ca777c090f
1 changed files with 1 additions and 1 deletions

View File

@ -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);