mirror of
https://github.com/winfsp/winfsp.git
synced 2025-04-22 16:33:02 -05:00
tools: run-tests: check whether ifstest could remove its directories
This commit is contained in:
parent
bdc02c8ab5
commit
7574c39ffb
@ -345,18 +345,32 @@ if !ERRORLEVEL! neq 1 goto fail
|
|||||||
exit /b 0
|
exit /b 0
|
||||||
|
|
||||||
:ifstest-memfs-x64-disk
|
:ifstest-memfs-x64-disk
|
||||||
M:
|
|
||||||
call :__ifstest-memfs M: \Device\WinFsp.Disk
|
call :__ifstest-memfs M: \Device\WinFsp.Disk
|
||||||
if !ERRORLEVEL! neq 0 goto fail
|
if !ERRORLEVEL! neq 0 goto fail
|
||||||
exit /b 0
|
exit /b 0
|
||||||
|
|
||||||
:ifstest-memfs-x86-disk
|
:ifstest-memfs-x86-disk
|
||||||
O:
|
|
||||||
call :__ifstest-memfs O: \Device\WinFsp.Disk
|
call :__ifstest-memfs O: \Device\WinFsp.Disk
|
||||||
if !ERRORLEVEL! neq 0 goto fail
|
if !ERRORLEVEL! neq 0 goto fail
|
||||||
exit /b 0
|
exit /b 0
|
||||||
|
|
||||||
:__ifstest-memfs
|
:__ifstest-memfs
|
||||||
|
%1
|
||||||
|
set IfsTestDirectories=^
|
||||||
|
securit^
|
||||||
|
opcreatg^
|
||||||
|
opcreatp^
|
||||||
|
closedel^
|
||||||
|
volinfo^
|
||||||
|
fileinfo^
|
||||||
|
dirinfo^
|
||||||
|
filelock^
|
||||||
|
oplocks^
|
||||||
|
chgnotif^
|
||||||
|
readwr^
|
||||||
|
seccache^
|
||||||
|
reparspt^
|
||||||
|
estream
|
||||||
set IfsTestMemfsExit=0
|
set IfsTestMemfsExit=0
|
||||||
rem call :__ifstest %1 /d %2 /g Security /z /v
|
rem call :__ifstest %1 /d %2 /g Security /z /v
|
||||||
rem if !ERRORLEVEL! neq 0 set IfsTestMemfsExit=1
|
rem if !ERRORLEVEL! neq 0 set IfsTestMemfsExit=1
|
||||||
@ -386,6 +400,9 @@ rem call :__ifstest %1 /d %2 /g ReparsePoints /z /v
|
|||||||
rem if !ERRORLEVEL! neq 0 set IfsTestMemfsExit=1
|
rem if !ERRORLEVEL! neq 0 set IfsTestMemfsExit=1
|
||||||
rem call :__ifstest %1 /d %2 /g StreamEnhancements /z /v
|
rem call :__ifstest %1 /d %2 /g StreamEnhancements /z /v
|
||||||
rem if !ERRORLEVEL! neq 0 set IfsTestMemfsExit=1
|
rem if !ERRORLEVEL! neq 0 set IfsTestMemfsExit=1
|
||||||
|
for %%d in (!IfsTestDirectories!) do (
|
||||||
|
if exist %%d (echo :ifstest directory %%d still exists & set IfsTestMemfsExit=1)
|
||||||
|
)
|
||||||
exit /b !IfsTestMemfsExit!
|
exit /b !IfsTestMemfsExit!
|
||||||
|
|
||||||
:__ifstest
|
:__ifstest
|
||||||
|
Loading…
x
Reference in New Issue
Block a user