]> wimlib.net Git - wimlib/blobdiff - tests/win32-test-imagex-capture_and_apply.bat
tests/tests-common.sh: fix references to /dev/null
[wimlib] / tests / win32-test-imagex-capture_and_apply.bat
index 8283ddd44a40b5fe3f71dc4dd3820962675b8c1c..8f573eceb62bd5ea4c7f8f7ca4b0692fa1ef816f 100644 (file)
@@ -207,6 +207,32 @@ echo 1 > file:aa
 call :do_test\r
 if %errorlevel% neq 0 goto :fail\r
 \r
+call :msg "empty reparse point"\r
+type nul > file\r
+%SET_REPARSE_POINT% file 0\r
+call :do_test\r
+if %errorlevel% neq 0 goto :fail\r
+\r
+call :msg "empty reparse point with unnamed data stream"\r
+echo hello > file\r
+%SET_REPARSE_POINT% file 0\r
+call :do_test\r
+if %errorlevel% neq 0 goto :fail\r
+\r
+call :msg "empty reparse point with unnamed data stream and named data streams"\r
+echo hello > file\r
+echo hello > file:ads1\r
+type nul > file:ads2\r
+%SET_REPARSE_POINT% file 0\r
+call :do_test\r
+if %errorlevel% neq 0 goto :fail\r
+\r
+call :msg "maximum length reparse point"\r
+type nul > file\r
+%SET_REPARSE_POINT% file 16376\r
+call :do_test\r
+if %errorlevel% neq 0 goto :fail\r
+\r
 call :msg "directory reparse point that is neither a symlink nor a junction"\r
 md subdir\r
 %SET_REPARSE_POINT% subdir\r