[KMTESTS:IO]
authorThomas Faber <thomas.faber@reactos.org>
Sat, 29 Oct 2016 11:20:58 +0000 (11:20 +0000)
committerThomas Faber <thomas.faber@reactos.org>
Sat, 29 Oct 2016 11:20:58 +0000 (11:20 +0000)
- Add a test case for trying to open a file "inside" a file to IoFilesystem
ROSTESTS-135

svn path=/trunk/; revision=73058

rostests/kmtests/ntos_io/IoFilesystem.c

index dcc4bcf..c22ee94 100644 (file)
@@ -292,6 +292,7 @@ TestRelativeNames(VOID)
         { NULL,                         L"C:\\ReactOS\\explorer.exe",       FALSE,  STATUS_SUCCESS },
         { NULL,                         L"C:\\ReactOS\\\\explorer.exe",     FALSE,  STATUS_OBJECT_NAME_INVALID },
         { NULL,                         L"C:\\ReactOS\\explorer.exe\\",     FALSE,  STATUS_OBJECT_NAME_INVALID },
+        { NULL,                         L"C:\\ReactOS\\explorer.exe\\file", FALSE,  STATUS_OBJECT_PATH_NOT_FOUND },
         { NULL,                         L"C:\\ReactOS\\explorer.exe\\\\",   FALSE,  STATUS_OBJECT_NAME_INVALID },
         /* This will never return STATUS_NOT_A_DIRECTORY. IsDirectory=TRUE is a little hacky but achieves that without special handling */
         { NULL,                         L"C:\\ReactOS\\explorer.exe\\\\\\", TRUE,   STATUS_OBJECT_NAME_INVALID },