mirror of
https://github.com/winfsp/winfsp.git
synced 2025-04-22 08:23:05 -05:00
tools: run-tests: net use test
This commit is contained in:
parent
3a65ce332b
commit
945509ef93
@ -44,11 +44,13 @@ for %%f in (^
|
||||
:fsx-memfs-x64-net ^
|
||||
:standby-memfs-x64-disk ^
|
||||
:standby-memfs-x64-net ^
|
||||
:net-use-memfs-x64 ^
|
||||
:winfsp-tests-x86-external-share ^
|
||||
:fsx-memfs-x86-disk ^
|
||||
:fsx-memfs-x86-net ^
|
||||
:standby-memfs-x86-disk ^
|
||||
:standby-memfs-x86-net ^
|
||||
:net-use-memfs-x86 ^
|
||||
:winfstest-memfs-x64-disk ^
|
||||
:winfstest-memfs-x64-net ^
|
||||
:winfstest-memfs-x86-disk ^
|
||||
@ -199,6 +201,18 @@ copy "%ProjRoot%\build\VStudio\build\%Configuration%\*"
|
||||
if !ERRORLEVEL! neq 0 goto fail
|
||||
exit /b 0
|
||||
|
||||
:net-use-memfs-x64
|
||||
echo net use L: \\memfs64\share
|
||||
net use L: \\memfs64\share
|
||||
if !ERRORLEVEL! neq 0 goto fail
|
||||
echo net use ^| findstr L: ^| findstr WinFsp.Np
|
||||
net use | findstr L: | findstr WinFsp.Np
|
||||
if !ERRORLEVEL! neq 0 goto fail
|
||||
echo net use L: /delete
|
||||
net use L: /delete
|
||||
if !ERRORLEVEL! neq 0 goto fail
|
||||
exit /b 0
|
||||
|
||||
:winfsp-tests-x86-external-share
|
||||
O:
|
||||
"%ProjRoot%\build\VStudio\build\%Configuration%\winfsp-tests-x86.exe" --external --share=winfsp-tests-share=O:\ --resilient ^
|
||||
@ -234,6 +248,18 @@ copy "%ProjRoot%\build\VStudio\build\%Configuration%\*"
|
||||
if !ERRORLEVEL! neq 0 goto fail
|
||||
exit /b 0
|
||||
|
||||
:net-use-memfs-x86
|
||||
echo net use L: \\memfs32\share
|
||||
net use L: \\memfs32\share
|
||||
if !ERRORLEVEL! neq 0 goto fail
|
||||
echo net use ^| findstr L: ^| findstr WinFsp.Np
|
||||
net use | findstr L: | findstr WinFsp.Np
|
||||
if !ERRORLEVEL! neq 0 goto fail
|
||||
echo net use L: /delete
|
||||
net use L: /delete
|
||||
if !ERRORLEVEL! neq 0 goto fail
|
||||
exit /b 0
|
||||
|
||||
:winfstest-memfs-x64-disk
|
||||
M:
|
||||
call "%ProjRoot%\ext\test\winfstest\run-winfstest.bat"
|
||||
|
Loading…
x
Reference in New Issue
Block a user