mirror of
https://github.com/fish-shell/fish-shell
synced 2024-11-10 23:24:39 +00:00
Make the output/errput test more robust by sorting output
This commit is contained in:
parent
318fe3c046
commit
e2ed6baf43
2 changed files with 2 additions and 2 deletions
|
@ -110,7 +110,7 @@ echo Test 5 $sta
|
|||
|
||||
logmsg Verify that we can turn stderr into stdout and then pipe it
|
||||
# Note that the order here has historically been unspecified - 'errput' could conceivably appear before 'output'.
|
||||
begin ; echo output ; echo errput 1>&2 ; end 2>&1 | tee ../test/temp/tee_test.txt ; cat ../test/temp/tee_test.txt
|
||||
begin ; echo output ; echo errput 1>&2 ; end 2>&1 | sort | tee ../test/temp/tee_test.txt ; cat ../test/temp/tee_test.txt
|
||||
|
||||
logmsg "Test that trailing ^ doesn't trigger redirection, see #1873"
|
||||
echo caret_no_redirect 12345^
|
||||
|
|
|
@ -44,10 +44,10 @@ Test 5 pass
|
|||
|
||||
####################
|
||||
# Verify that we can turn stderr into stdout and then pipe it
|
||||
output
|
||||
errput
|
||||
output
|
||||
errput
|
||||
output
|
||||
|
||||
####################
|
||||
# Test that trailing ^ doesn't trigger redirection, see #1873
|
||||
|
|
Loading…
Reference in a new issue