mirror of
https://github.com/winfsp/winfsp.git
synced 2025-04-23 08:53:01 -05:00
tools: run-tests
This commit is contained in:
parent
9533815931
commit
edb675d2d4
@ -495,9 +495,10 @@ call %ProjRoot%\tools\build-sample %Configuration% %1 passthrough "%TMP%\passthr
|
|||||||
if !ERRORLEVEL! neq 0 goto fail
|
if !ERRORLEVEL! neq 0 goto fail
|
||||||
mkdir "%TMP%\passthrough-%1\test"
|
mkdir "%TMP%\passthrough-%1\test"
|
||||||
call "%ProjRoot%\tools\fsreg" passthrough "%TMP%\passthrough-%1\build\%Configuration%\passthrough-%1.exe" "-u %%%%1 -m %%%%2" "D:P(A;;RPWPLC;;;WD)"
|
call "%ProjRoot%\tools\fsreg" passthrough "%TMP%\passthrough-%1\build\%Configuration%\passthrough-%1.exe" "-u %%%%1 -m %%%%2" "D:P(A;;RPWPLC;;;WD)"
|
||||||
|
echo net use L: "\\passthrough\%TMP::=$%\passthrough-%1\test"
|
||||||
net use L: "\\passthrough\%TMP::=$%\passthrough-%1\test"
|
net use L: "\\passthrough\%TMP::=$%\passthrough-%1\test"
|
||||||
if !ERRORLEVEL! neq 0 goto fail
|
if !ERRORLEVEL! neq 0 goto fail
|
||||||
pushd
|
pushd >nul
|
||||||
cd L: >nul 2>nul || (echo Unable to find drive L: >&2 & goto fail)
|
cd L: >nul 2>nul || (echo Unable to find drive L: >&2 & goto fail)
|
||||||
L:
|
L:
|
||||||
|
|
||||||
@ -507,6 +508,7 @@ L:
|
|||||||
if !ERRORLEVEL! neq 0 set SamplePassthroughExit=1
|
if !ERRORLEVEL! neq 0 set SamplePassthroughExit=1
|
||||||
|
|
||||||
popd
|
popd
|
||||||
|
echo net use L: /delete
|
||||||
net use L: /delete
|
net use L: /delete
|
||||||
call "%ProjRoot%\tools\fsreg" -u passthrough
|
call "%ProjRoot%\tools\fsreg" -u passthrough
|
||||||
rmdir /s/q "%TMP%\passthrough-%1"
|
rmdir /s/q "%TMP%\passthrough-%1"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user