Results for builtin-io.test.sh

casedashbashmkshzshashoshosh_ALTdescription
0pass pass pass BUG pass pass pass echo dashes
details
1BUG pass BUG BUG pass pass pass echo backslashes
detailsdetailsdetails
2N-I pass pass pass pass pass pass echo -e backslashes
details
3N-I pass pass pass pass pass pass echo -en
details
4ok pass ok ok pass pass pass echo -ez (invalid flag)
detailsdetailsdetails
5pass pass pass pass pass pass pass echo -e with embedded newline
6pass pass pass pass pass pass pass echo -e line continuation
7N-I pass pass pass pass pass pass echo -e with C escapes
details
8N-I pass pass pass pass pass pass echo -e with whitespace C escapes
details
9BUG pass pass pass pass pass pass \0
details
10pass pass N-I pass pass pass pass \c stops processing input
details
11N-I pass pass pass pass pass pass echo -e with hex escape
details
12pass pass pass pass pass pass pass echo -e with octal escape
13N-I pass pass pass N-I pass pass echo -e with 4 digit unicode escape
detailsdetails
14N-I pass pass pass N-I pass pass echo -e with 8 digit unicode escape
detailsdetails
15N-I pass pass pass pass pass pass \0377 is the highest octal byte
details
16N-I pass pass pass BUG pass pass \0400 is one more than the highest octal byte
detailsdetails
17pass pass BUG pass BUG pass pass \0777 is out of range
detailsdetails
18N-I pass pass pass pass pass pass incomplete hex escape
details
19N-I pass BUG BUG pass pass pass \x
detailsdetailsdetails
20pass pass pass pass pass pass pass incomplete octal escape
21N-I pass pass pass BUG pass pass incomplete unicode escape
detailsdetails
22N-I pass pass pass N-I pass pass \u6
detailsdetails
23BUG pass pass pass BUG pass pass \0 \1 \8
detailsdetails
24pass pass pass pass pass pass pass Read builtin
25pass pass pass pass pass pass pass Read from empty file
26pass pass pass pass pass pass pass Read builtin with no newline.
27BUG pass pass pass pass pass pass Read builtin with multiple variables
details
28pass pass pass pass pass pass pass Read builtin with not enough variables
29N-I pass pass N-I pass pass pass Read -n (with $REPLY)
detailsdetails
30N-I pass pass pass pass pass pass Read uses $REPLY (without -n)
details
31pass pass pass pass pass pass pass read -r ignores backslashes
32pass pass BUG BUG pass pass pass read -r with other backslash escapes
detailsdetails
33N-I pass pass pass pass pass pass read with line continuation reads multiple physical lines
details
34pass pass pass pass pass pass pass read multiple vars spanning many lines
35BUG pass BUG BUG pass pass pass read -r with \n
detailsdetailsdetails
36N-I pass pass pass pass pass pass Read with IFS=$'\n'
details
37pass pass pass pass pass pass pass Read multiple lines with IFS=:
38pass pass pass pass pass pass pass Read with IFS=''
39BUG pass BUG BUG BUG pass pass Read should not respect C escapes.
detailsdetailsdetailsdetails

232 passed, 3 ok, 22 known unimplemented, 23 known bugs, 0 failed, 0 skipped

Details on runs that didn't PASS

zsh0 echo dashes

stdout:
--
---
stderr:
dash1 echo backslashes

stdout:
\
\
\
\
stderr:
mksh1 echo backslashes

stdout:
\
\
\
\
stderr:
zsh1 echo backslashes

stdout:
\
\
\
\
stderr:
dash2 echo -e backslashes

stdout:
-e \
-e \
-e \
-e \
stderr:
dash3 echo -en

stdout:
-en abc
def

stderr:
dash4 echo -ez (invalid flag)

stdout:
-ez abc

stderr:
mksh4 echo -ez (invalid flag)

stdout:
-ez abc

stderr:
zsh4 echo -ez (invalid flag)

stdout:
-ez abc

stderr:
dash7 echo -e with C escapes

stdout:
-e \d\e
stderr:
dash8 echo -e with whitespace C escapes

stdout:
-e 

	
stderr:
dash9 \0

stdout:
-e ab
stderr:
mksh10 \c stops processing input

stdout:
xy abde abde
stderr:
dash11 echo -e with hex escape

stdout:
-e abcd\x65f
stderr:
dash13 echo -e with 4 digit unicode escape

stdout:
abcd\u0065f
stderr:
ash13 echo -e with 4 digit unicode escape

stdout:
abcd\u0065f
stderr:
dash14 echo -e with 8 digit unicode escape

stdout:
abcd\U00000065f
stderr:
ash14 echo -e with 8 digit unicode escape

stdout:
abcd\U00000065f
stderr:
dash15 \0377 is the highest octal byte

stdout:
 2d 65 6e 20 ff 37 0a
stderr:
dash16 \0400 is one more than the highest octal byte

stdout:
 2d 65 6e 20
stderr:
ash16 \0400 is one more than the highest octal byte

stdout:
 20 30 30
stderr:
mksh17 \0777 is out of range

stdout:
 c3 bf
stderr:
ash17 \0777 is out of range

stdout:
 3f 37
stderr:
dash18 incomplete hex escape

stdout:
 - e n a b c d \ x 6 \n
stderr:
dash19 \x

stdout:
 - e \ x \ x g \n
stderr:
mksh19 \x

stdout:
 \0 \0 g \n
stderr:
zsh19 \x

stdout:
 \0 \0 g \n
stderr:
dash21 incomplete unicode escape

stdout:
 - e n a b c d \ u 0 0 6 \n
stderr:
ash21 incomplete unicode escape

stdout:
 a b c d \ u 0 0 6
stderr:
dash22 \u6

stdout:
 \ u 6
stderr:
ash22 \u6

stdout:
 \ u 6
stderr:
dash23 \0 \1 \8

stdout:
 001 \ 8
stderr:
ash23 \0 \1 \8

stdout:
 \0 001 \ 8
stderr:
dash27 Read builtin with multiple variables

stdout:
[A/B/C D E ]
stderr:
dash29 Read -n (with $REPLY)

stdout:
[]
stderr:
/bin/dash: 2: read: Illegal option -n
/bin/dash: 3: read: Illegal option -n
zsh29 Read -n (with $REPLY)

stdout:
[]
stderr:
dash30 Read uses $REPLY (without -n)

stdout:
stderr: 
/bin/dash: 2: read: arg count
mksh32 read -r with other backslash escapes

stdout:
['one twoethree', 'one\\ twoethree']
stderr:
zsh32 read -r with other backslash escapes

stdout:
['one twoethree', 'one\\ twoethree']
stderr:
dash33 read with line continuation reads multiple physical lines

stdout:
['-e onetwo', '-e one\\']
stderr:
dash35 read -r with \n

stdout:
['', '']
stderr:
mksh35 read -r with \n

stdout:
['', '']
stderr:
zsh35 read -r with \n

stdout:
['', '']
stderr:
dash36 Read with IFS=$'\n'

stdout:
[a b c]
stderr:
dash39 Read should not respect C escapes.

stdout:
 
stderr:
mksh39 Read should not respect C escapes.

stdout:
  d   g h e 145 i
stderr:
zsh39 Read should not respect C escapes.

stdout:
 
stderr:
ash39 Read should not respect C escapes.

stdout:
abcdefghx65 145 i
stderr: