From 3bbe0bf2d7235584e1df11f21043338b18a5753e Mon Sep 17 00:00:00 2001 From: Eric Biggers Date: Wed, 28 Jan 2015 23:13:36 -0600 Subject: [PATCH] win32-test-imagex-capture_and_apply.bat: add tests for empty named stream --- tests/win32-test-imagex-capture_and_apply.bat | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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 -- 2.43.0