test=filename_tests;
while (test->basename)
{
+ BOOL quotedfile = FALSE;
+
sprintf(filename, test->basename, tmpdir);
if (strchr(filename, '/'))
{
else
{
char quoted[MAX_PATH + 2];
+
+ quotedfile = TRUE;
sprintf(quoted, "\"%s\"", filename);
rc=shell_execute(test->verb, quoted, NULL, NULL);
}
rc=33;
if ((test->todo & 0x1)==0)
{
- ok(rc==test->rc, "%s failed: rc=%d err=%d\n", shell_call,
+ ok(rc==test->rc ||
+ broken(quotedfile && rc == 2), /* NT4 */
+ "%s failed: rc=%d err=%d\n", shell_call,
rc, GetLastError());
}
else todo_wine