From ba1509ef9ebec9d7490467b72dad8301f13e2092 Mon Sep 17 00:00:00 2001 From: Thomas Faber Date: Sat, 29 Oct 2016 11:20:58 +0000 Subject: [PATCH] [KMTESTS:IO] - 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 | 1 + 1 file changed, 1 insertion(+) diff --git a/rostests/kmtests/ntos_io/IoFilesystem.c b/rostests/kmtests/ntos_io/IoFilesystem.c index dcc4bcf4779..c22ee94d230 100644 --- a/rostests/kmtests/ntos_io/IoFilesystem.c +++ b/rostests/kmtests/ntos_io/IoFilesystem.c @@ -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 },