fish-shell/tests/test1.out

104 lines
1.5 KiB
Text
Raw Normal View History

####################
# Comments in odd places don't cause problems
1a
1b
2a
2b
####################
# Bracket expansion
x-1
x-1 x-2
foo-1 foo-23 foo-24
####################
# Escaped newlines
foo bar
foobar
foobar
foo\
bar
a
b
c
####################
# Simple function tests
Test 2 pass
Test 3a pass
Test 3b pass
2010-11-23 15:05:21 +00:00
Test 4 pass
####################
# Ensure eval doesn't unnecessarily mess with the exit status
2015-01-17 23:22:37 +00:00
1
0
2010-11-23 16:35:56 +00:00
Test 5 pass
####################
# Verify that we can turn stderr into stdout and then pipe it
errput
output
errput
output
####################
# Test that trailing ^ doesn't trigger redirection, see #1873
caret_no_redirect 12345^
####################
# Verify that we can pipe something other than stdout
is_stdout
2017-06-19 05:25:00 +00:00
####################
2017-06-19 05:25:00 +00:00
# echo tests
abc\ndef
abc
def
abc\zdef
abc!def
abc!def
abcQdef
abcQ2def
abc
-
2017-06-19 05:25:00 +00:00
-h
2017-02-01 02:44:02 +00:00
0000000 376
0000001
Catch your breath
abc!def
abc!1def
####################
# Verify that pipes don't conflict with fd redirections
pipe 3
pipe 4
pipe 5
pipe 6
pipe 7
pipe 8
pipe 9
pipe 10
pipe 11
pipe 12
####################
# Make sure while loops don't run forever with no-exec (#1543)
Checking for infinite loops in no-execute
####################
# Comments allowed in between lines (#1987)
2015-04-06 06:47:04 +00:00
before comment after comment
####################
# Backslashes are part of comments and do not join lines (#1255)
####################
# Verify $argv set correctly in sourced scripts (#139)
source argv {}
source argv {}
source argv {abc}
source argv {abc def}
1