mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-21 03:21:16 -03:00
Initial work towards various IO cleanups with an eye to fixing https://github.com/fish-shell/fish-shell/issues/110
This commit is contained in:
@@ -94,6 +94,11 @@ else
|
||||
end
|
||||
echo Test 5 $sta
|
||||
|
||||
# Verify that we can turn stderr into stdout and then pipe it.
|
||||
# Note that the order here seems unspecified - 'errput' appears before 'output', why?
|
||||
echo Test redirections
|
||||
begin ; echo output ; echo errput 1>&2 ; end 2>&1 | tee /tmp/tee_test.txt ; cat /tmp/tee_test.txt
|
||||
|
||||
# echo tests
|
||||
|
||||
echo 'abc\ndef'
|
||||
|
||||
@@ -18,6 +18,11 @@ Test pass
|
||||
Test 3 pass
|
||||
Test 4 pass
|
||||
Test 5 pass
|
||||
Test redirections
|
||||
errput
|
||||
output
|
||||
errput
|
||||
output
|
||||
abc\ndef
|
||||
abc
|
||||
def
|
||||
|
||||
Reference in New Issue
Block a user