I have a test in msvcrt/file.c that requires there be no TMP environment variable. I thought I would just do a _putenv("TMP="), but this seems to interfere with todo_wine.
Basically,
static void test_todo( void ) { todo_wine { ok((1 == 1), "This shows up correctly\n"); } _putenv("TMP="); todo_wine { ok((1 == 1), "This does not show\n"); } }
My quick search has not turned up anything obvious. Can somebody help me understand what is going on here? Assuming TMP is actually required by somebody else, how do I correctly do my test and check with no TMP environment variable?
Thanks, Phil