aboutsummaryrefslogtreecommitdiff
path: root/tests/test/script/builtin/cat.test
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test/script/builtin/cat.test')
-rw-r--r--tests/test/script/builtin/cat.test8
1 files changed, 7 insertions, 1 deletions
diff --git a/tests/test/script/builtin/cat.test b/tests/test/script/builtin/cat.test
index edde422..5049ca9 100644
--- a/tests/test/script/builtin/cat.test
+++ b/tests/test/script/builtin/cat.test
@@ -49,7 +49,13 @@ EOO
: non-existent
:
-cat in 2>- != 0 # @@ REGEX
+: Note that there is an optional trailing blank line in the regex that matches
+: the newline added by msvcrt as a part of the error description.
+:
+cat in 2>>~%EOE% != 0
+%cat: unable to print '.+[/\\]test[/\\]cat[/\\]non-existent[/\\]in': .+%
+%%?
+EOE
: empty-path
: