mirror of
https://github.com/winfsp/winfsp.git
synced 2025-04-22 08:23:05 -05:00
tst: fscrash: WIP
This commit is contained in:
parent
f54ce6a65d
commit
aae6a15e5a
@ -10,7 +10,7 @@ set TARGET=\\%TARGET_MACHINE%%TARGET_ACCOUNT%
|
||||
|
||||
cd %~dp0..
|
||||
mkdir %TARGET% 2>nul
|
||||
for %%f in (winfsp-%SUFFIX%.sys winfsp-%SUFFIX%.dll winfsp-tests-%SUFFIX%.exe memfs-%SUFFIX%.exe) do (
|
||||
for %%f in (winfsp-%SUFFIX%.sys winfsp-%SUFFIX%.dll winfsp-tests-%SUFFIX%.exe fscrash-%SUFFIX%.exe memfs-%SUFFIX%.exe) do (
|
||||
copy build\VStudio\build\%CONFIG%\%%f %TARGET% >nul
|
||||
)
|
||||
echo sc create WinFsp type=filesys binPath=%%~dp0%DRIVER% >%TARGET%sc-create.bat
|
||||
|
@ -235,7 +235,7 @@ int wmain(int argc, wchar_t **argv)
|
||||
else
|
||||
wsprintfW(Prefix, L"\\memfs\\share");
|
||||
|
||||
for (ULONG Iterations = OptIterations; -1 == Iterations || 0 != Iterations; Iterations--)
|
||||
for (ULONG Iterations = 0; -1 == OptIterations || OptIterations != Iterations; Iterations++)
|
||||
{
|
||||
Test(Prefix);
|
||||
FspCrash(MemfsFileSystem(Memfs)); /* after one time through, go ahead and crash! */
|
||||
|
Loading…
x
Reference in New Issue
Block a user