From: Eric Biggers Date: Thu, 29 Jan 2015 05:13:36 +0000 (-0600) Subject: win32-test-imagex-capture_and_apply.bat: add tests for empty named stream X-Git-Tag: v1.8.0~35 X-Git-Url: https://wimlib.net/git/?p=wimlib;a=commitdiff_plain;h=3bbe0bf2d7235584e1df11f21043338b18a5753e win32-test-imagex-capture_and_apply.bat: add tests for empty named stream --- diff --git a/tests/win32-test-imagex-capture_and_apply.bat b/tests/win32-test-imagex-capture_and_apply.bat index 0434893b..f18939de 100644 --- a/tests/win32-test-imagex-capture_and_apply.bat +++ b/tests/win32-test-imagex-capture_and_apply.bat @@ -242,6 +242,18 @@ echo aaa > file2:aaa call :do_test if %errorlevel% neq 0 exit /b %errorlevel% +call :msg "file with empty alternate data stream" +echo 1 > file +type nul > file:ads +call :do_test +if %errorlevel% neq 0 exit /b %errorlevel% + +call :msg "directory with empty alternate data stream" +md subdir +type nul > subdir:ads +call :do_test +if %errorlevel% neq 0 exit /b %errorlevel% + call :msg "root directory with alternate data stream" echo 1 > ..\in.dir:ads call :do_test