aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/test1.in
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test1.in')
-rw-r--r--tests/test1.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/test1.in b/tests/test1.in
index ff6075cc..6c3ba956 100644
--- a/tests/test1.in
+++ b/tests/test1.in
@@ -104,6 +104,9 @@ echo Test 5 $sta
echo Test redirections
begin ; echo output ; echo errput 1>&2 ; end 2>&1 | tee ../test/temp/tee_test.txt ; cat ../test/temp/tee_test.txt
+# Test that trailing ^ doesn't trigger redirection, see #1873
+echo caret_no_redirect 12345^
+
# Verify that we can pipe something other than stdout
# The first line should be printed, since we output to stdout but pipe stderr to /dev/null
# The second line should not be printed, since we output to stderr and pipe it to /dev/null