Re[2]: shell32/tests: add tests for the parser of SHELLEXECUTEINFO.lpFile [try 6]

2010-03-08 Thread Ilya Basin
PV On 03/08/2010 05:42 PM, Juan Lang wrote: Hi Ilya, I like this one rather better, thanks. Especially the use of broken() makes it clearer what's happening. I think you could tidy it up just a little more: +expected = 33; sprintf(fileA, testfile, tmpdir); +rc=shell_execute(NULL,

Re: Re[2]: shell32/tests: add tests for the parser of SHELLEXECUTEINFO.lpFile [try 6]

2010-03-08 Thread Juan Lang
+    expected = 33; sprintf(fileA, testfile, tmpdir); +    rc=shell_execute(NULL, fileA, NULL, NULL); +    todo_wine { +        ok(rc==expected || (rc32  expected32), +            expected %s (%d), got %s (%d), lpFile: %s \n, +            expected==33 ? success : failure, expected, rc  32 ?