These tests are currently passing.
call :msg "reparse point with unnamed data stream"\r
echo "test" > file\r
%SET_REPARSE_POINT% file\r
call :msg "reparse point with unnamed data stream"\r
echo "test" > file\r
%SET_REPARSE_POINT% file\r
-REM Use skip_dism_apply=1 due to DISM bug\r
-call :do_test_with_params 1 0\r
\r
call :msg "reparse point with unnamed data stream and named data streams"\r
echo "test" > file\r
echo 11 > file:a\r
echo 1 > file:aa\r
%SET_REPARSE_POINT% file\r
\r
call :msg "reparse point with unnamed data stream and named data streams"\r
echo "test" > file\r
echo 11 > file:a\r
echo 1 > file:aa\r
%SET_REPARSE_POINT% file\r
-REM Use skip_dism_apply=1 due to DISM bug\r
-call :do_test_with_params 1 0\r
\r
call :msg "empty reparse point"\r
type nul > file\r
\r
call :msg "empty reparse point"\r
type nul > file\r
echo hello > file:ads1\r
type nul > file:ads2\r
%SET_REPARSE_POINT% file 0\r
echo hello > file:ads1\r
type nul > file:ads2\r
%SET_REPARSE_POINT% file 0\r
-REM Use skip_dism_apply=1 due to DISM bug\r
-call :do_test_with_params 1 0\r
\r
call :msg "maximum length reparse point"\r
type nul > file\r
\r
call :msg "maximum length reparse point"\r
type nul > file\r