From 0f6371f0d83a3203869cbba17c81e460008d44d0 Mon Sep 17 00:00:00 2001 From: Bill Zissimopoulos Date: Wed, 17 May 2017 21:07:37 -0700 Subject: [PATCH] tools: run-tests: add fsx and winfstest for memfs-dotnet --- tools/run-tests.bat | 34 +++++++++++++++++++++++++++++++++- 1 file changed, 33 insertions(+), 1 deletion(-) diff --git a/tools/run-tests.bat b/tools/run-tests.bat index 3fb080c6..c3eeb017 100755 --- a/tools/run-tests.bat +++ b/tools/run-tests.bat @@ -62,7 +62,11 @@ set dfl_tests=^ winfstest-memfs-x86-net ^ fscrash-x86 ^ winfsp-tests-dotnet-external ^ - winfsp-tests-dotnet-external-share + winfsp-tests-dotnet-external-share ^ + fsx-memfs-dotnet-disk ^ + fsx-memfs-dotnet-net ^ + winfstest-memfs-dotnet-disk ^ + winfstest-memfs-dotnet-net set opt_tests=^ ifstest-memfs-x64-disk ^ ifstest-memfs-x86-disk ^ @@ -387,6 +391,34 @@ Q: if !ERRORLEVEL! neq 0 goto fail exit /b 0 +:fsx-memfs-dotnet-disk +Q: +"%ProjRoot%\ext\test\fstools\src\fsx\fsx.exe" -N 5000 test xxxxxx +if !ERRORLEVEL! neq 0 goto fail +"%ProjRoot%\ext\test\fstools\src\fsx\fsx.exe" -f foo -N 5000 test xxxxxx +if !ERRORLEVEL! neq 0 goto fail +exit /b 0 + +:fsx-memfs-dotnet-net +R: +"%ProjRoot%\ext\test\fstools\src\fsx\fsx.exe" -N 5000 test xxxxxx +if !ERRORLEVEL! neq 0 goto fail +"%ProjRoot%\ext\test\fstools\src\fsx\fsx.exe" -f foo -N 5000 test xxxxxx +if !ERRORLEVEL! neq 0 goto fail +exit /b 0 + +:winfstest-memfs-dotnet-disk +Q: +call "%ProjRoot%\ext\test\winfstest\run-winfstest.bat" +if !ERRORLEVEL! neq 0 goto fail +exit /b 0 + +:winfstest-memfs-dotnet-net +R: +call "%ProjRoot%\ext\test\winfstest\run-winfstest.bat" +if !ERRORLEVEL! neq 0 goto fail +exit /b 0 + :ifstest-memfs-x64-disk call :__ifstest-memfs M: \Device\WinFsp.Disk C: if !ERRORLEVEL! neq 0 goto fail