Commit 09627c8f authored by Jon Griffiths's avatar Jon Griffiths Committed by Alexandre Julliard

msvcrt: Fix file test which fails on Vista.

parent c6fd6b6a
...@@ -783,8 +783,8 @@ static void test_fopen_fclose_fcloseall( void ) ...@@ -783,8 +783,8 @@ static void test_fopen_fclose_fcloseall( void )
ok(stream3 != NULL, "The file '%s' should be opened now\n", fname3 ); ok(stream3 != NULL, "The file '%s' should be opened now\n", fname3 );
errno = 0xfaceabad; errno = 0xfaceabad;
stream4 = fopen("", "w+"); stream4 = fopen("", "w+");
ok(stream4 == NULL && errno == ENOENT, ok(stream4 == NULL && (errno == EINVAL || errno == ENOENT),
"filename is empty, errno = %d (expected 2)\n", errno); "filename is empty, errno = %d (expected 2 or 22)\n", errno);
errno = 0xfaceabad; errno = 0xfaceabad;
stream4 = fopen(NULL, "w+"); stream4 = fopen(NULL, "w+");
ok(stream4 == NULL && (errno == EINVAL || errno == ENOENT), ok(stream4 == NULL && (errno == EINVAL || errno == ENOENT),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment