fish-shell/tests/test8.out

43 lines
736 B
Plaintext
Raw Normal View History

####################
# Test variable expand
1 2 3 4 5 6 7 8 9 10
10 9 8 7 6 5 4 3 2 1
2 3 4 5 8 7 6
10 9
10 9 8 7 6 5 4 3 2 1
####################
# Test variable set
10 9 8 7 6 5 4 3 2 1
1 2 3 4 5 6 7 8 9 10
10 9 8 7 6 5 4 3 2 1
10 7 8 9 6 5 2 3 4 1
####################
# Test using slices of command substitution
5 4 3 2 1
3 4 5 9 8 7 6 5 4 3 2
####################
# Test more
10 9 8 7 6 5 4 3 2 1
1 2 3 4 5 6 7 8 9 10
####################
# Verify that if statements swallow failure
0
####################
# Verify and/or behavior with if and while statements
success1
success2
success3
success4
####################
# Catch this corner case, which should produce an error
####################
# Loop control in conditions