Results for builtin-io.test.sh

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

242 passed, 3 ok, 26 known unimplemented, 23 known bugs, 0 failed, 0 skipped

Details on runs that didn't PASS

zsh0 echo dashes

stdout:
--
---
stderr:
osh-byterun0 echo dashes

[osh-byterun stdout] Expected u'-\n--\n---\n', got ''
[osh-byterun status] Expected 0, got 1

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module>
    from frontend import args
ImportError: No module named frontend
dash1 echo backslashes

stdout:
\
\
\
\
stderr:
mksh1 echo backslashes

stdout:
\
\
\
\
stderr:
zsh1 echo backslashes

stdout:
\
\
\
\
stderr:
osh-byterun1 echo backslashes

[osh-byterun stdout] Expected '\\\n\\\n\\\\\n\\\n', got ''
[osh-byterun status] Expected 0, got 1

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module>
    from frontend import args
ImportError: No module named frontend
dash2 echo -e backslashes

stdout:
-e \
-e \
-e \
-e \
stderr:
osh-byterun2 echo -e backslashes

[osh-byterun stdout] Expected '\\\n\\\n\\\n\\\n', got ''
[osh-byterun status] Expected 0, got 1

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module>
    from frontend import args
ImportError: No module named frontend
dash3 echo -en

stdout:
-en abc
def

stderr:
osh-byterun3 echo -en

[osh-byterun stdout] Expected u'abc\ndef\n', got ''
[osh-byterun status] Expected 0, got 1

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module>
    from frontend import args
ImportError: No module named frontend
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:
osh-byterun4 echo -ez (invalid flag)

[osh-byterun stdout] Expected u'-ez abc\\n\n', got ''
[osh-byterun status] Expected 0, got 1

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module>
    from frontend import args
ImportError: No module named frontend
osh-byterun5 echo -e with embedded newline

[osh-byterun stdout] Expected 'foo\nbar\n', got ''
[osh-byterun status] Expected 0, got 1

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module>
    from frontend import args
ImportError: No module named frontend
osh-byterun6 echo -e line continuation

[osh-byterun stdout] Expected 'foo\\\nbar\n', got ''
[osh-byterun status] Expected 0, got 1

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module>
    from frontend import args
ImportError: No module named frontend
dash7 echo -e with C escapes

stdout:
-e \d\e
stderr:
osh-byterun7 echo -e with C escapes

[osh-byterun stdout] Expected u'\x07\x08\\d\x1b\x0c\n', got ''
[osh-byterun status] Expected 0, got 1

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module>
    from frontend import args
ImportError: No module named frontend
dash8 echo -e with whitespace C escapes

stdout:
-e 

	
stderr:
osh-byterun8 echo -e with whitespace C escapes

[osh-byterun stdout] Expected u'\n\r\t\x0b\n', got ''
[osh-byterun status] Expected 0, got 1

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module>
    from frontend import args
ImportError: No module named frontend
dash9 \0

stdout:
-e ab
stderr:
osh-byterun9 \0

[osh-byterun stdout] Expected u'ab\x00cd\n', got ''
[osh-byterun status] Expected 0, got 1

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module>
    from frontend import args
ImportError: No module named frontend
mksh10 \c stops processing input

stdout:
xy abde abde
stderr:
osh-byterun10 \c stops processing input

[osh-byterun stdout] Expected u'xy ab', got ''
[osh-byterun status] Expected 0, got 1

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module>
    from frontend import args
ImportError: No module named frontend
dash11 echo -e with hex escape

stdout:
-e abcd\x65f
stderr:
osh-byterun11 echo -e with hex escape

[osh-byterun stdout] Expected u'abcdef\n', got ''
[osh-byterun status] Expected 0, got 1

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module>
    from frontend import args
ImportError: No module named frontend
osh-byterun12 echo -e with octal escape

[osh-byterun stdout] Expected u'abcd$e\n', got ''
[osh-byterun status] Expected 0, got 1

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module>
    from frontend import args
ImportError: No module named frontend
dash13 echo -e with 4 digit unicode escape

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

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

[osh-byterun stdout] Expected 'abcdef\n', got ''
[osh-byterun status] Expected 0, got 1

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module>
    from frontend import args
ImportError: No module named frontend
dash14 echo -e with 8 digit unicode escape

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

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

[osh-byterun stdout] Expected 'abcdef\n', got ''
[osh-byterun status] Expected 0, got 1

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module>
    from frontend import args
ImportError: No module named frontend
dash15 \0377 is the highest octal byte

stdout:
 2d 65 6e 20 ff 37 0a
stderr:
osh-byterun15 \0377 is the highest octal byte

[osh-byterun stdout] Expected u' ff 37\n', got ''
[osh-byterun status] Expected 0, got 1

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module>
    from frontend import args
ImportError: No module named frontend
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:
osh-byterun16 \0400 is one more than the highest octal byte

[osh-byterun stdout] Expected u' 00 30\n', got ''
[osh-byterun status] Expected 0, got 1

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module>
    from frontend import args
ImportError: No module named frontend
mksh17 \0777 is out of range

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

stdout:
 3f 37
stderr:
osh-byterun17 \0777 is out of range

[osh-byterun stdout] Expected u' ff\n', got ''
[osh-byterun status] Expected 0, got 1

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module>
    from frontend import args
ImportError: No module named frontend
dash18 incomplete hex escape

stdout:
 - e n a b c d \ x 6 \n
stderr:
osh-byterun18 incomplete hex escape

[osh-byterun stdout] Expected u' a b c d 006\n', got ''
[osh-byterun status] Expected 0, got 1

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module>
    from frontend import args
ImportError: No module named frontend
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:
osh-byterun19 \x

[osh-byterun stdout] Expected u' \\ x \\ x g \\n\n', got ''
[osh-byterun status] Expected 0, got 1

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module>
    from frontend import args
ImportError: No module named frontend
osh-byterun20 incomplete octal escape

[osh-byterun stdout] Expected u' a b c d 004\n', got ''
[osh-byterun status] Expected 0, got 1

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module>
    from frontend import args
ImportError: No module named frontend
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:
osh-byterun21 incomplete unicode escape

[osh-byterun stdout] Expected u' a b c d 006\n', got ''
[osh-byterun status] Expected 0, got 1

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module>
    from frontend import args
ImportError: No module named frontend
dash22 \u6

stdout:
 \ u 6
stderr:
ash22 \u6

stdout:
 \ u 6
stderr:
osh-byterun22 \u6

[osh-byterun stdout] Expected u' 006\n', got ''
[osh-byterun status] Expected 0, got 1

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module>
    from frontend import args
ImportError: No module named frontend
dash23 \0 \1 \8

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

stdout:
 \0 001 \ 8
stderr:
osh-byterun23 \0 \1 \8

[osh-byterun stdout] Expected u' \\0 \\ 1 \\ 8\n', got ''
[osh-byterun status] Expected 0, got 1

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module>
    from frontend import args
ImportError: No module named frontend
osh-byterun24 Read builtin

[osh-byterun stdout] Expected '[A\t\tB C D E]\n', got ''
[osh-byterun status] Expected 0, got 1

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module>
    from frontend import args
ImportError: No module named frontend
osh-byterun25 Read from empty file

[osh-byterun stdout] Expected "['status=1', '']\n", got ''
[osh-byterun status] Expected 0, got 1

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module>
    from frontend import args
ImportError: No module named frontend
osh-byterun26 Read builtin with no newline.

[osh-byterun stdout] Expected u'1\nZZZ\n', got ''
[osh-byterun status] Expected 0, got 1

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module>
    from frontend import args
ImportError: No module named frontend
dash27 Read builtin with multiple variables

stdout:
[A/B/C D E ]
stderr:
osh-byterun27 Read builtin with multiple variables

[osh-byterun stdout] Expected '[A/B/C D E]\n', got ''
[osh-byterun status] Expected 0, got 1

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module>
    from frontend import args
ImportError: No module named frontend
osh-byterun28 Read builtin with not enough variables

[osh-byterun stdout] Expected '/A/B//\n', got ''
[osh-byterun status] Expected 0, got 1

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module>
    from frontend import args
ImportError: No module named frontend
dash29 Read -n (with $REPLY)

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

stdout:
[]
stderr:
osh-byterun29 Read -n (with $REPLY)

[osh-byterun stdout] Expected "['1234', '12']\n", got ''
[osh-byterun status] Expected 0, got 1

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module>
    from frontend import args
ImportError: No module named frontend
dash30 Read uses $REPLY (without -n)

stdout:
stderr: 
_tmp/spec-bin/dash: 2: read: arg count
osh-byterun30 Read uses $REPLY (without -n)

[osh-byterun stdout] Expected '123\n', got ''
[osh-byterun status] Expected 0, got 1

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module>
    from frontend import args
ImportError: No module named frontend
osh-byterun31 read -r ignores backslashes

[osh-byterun stdout] Expected "['one two', 'one\\\\ two']\n", got ''
[osh-byterun status] Expected 0, got 1

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module>
    from frontend import args
ImportError: No module named frontend
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:
osh-byterun32 read -r with other backslash escapes

[osh-byterun stdout] Expected "['one twox65three', 'one\\\\ two\\\\x65three']\n", got ''
[osh-byterun status] Expected 0, got 1

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module>
    from frontend import args
ImportError: No module named frontend
dash33 read with line continuation reads multiple physical lines

stdout:
['-e onetwo', '-e one\\']
stderr:
osh-byterun33 read with line continuation reads multiple physical lines

[osh-byterun stdout] Expected "['onetwo', 'one\\\\']\n", got ''
[osh-byterun status] Expected 0, got 1

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module>
    from frontend import args
ImportError: No module named frontend
osh-byterun34 read multiple vars spanning many lines

[osh-byterun stdout] Expected "['one-two', 'three-four five-six', '']\n", got ''
[osh-byterun status] Expected 0, got 1

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module>
    from frontend import args
ImportError: No module named frontend
dash35 read -r with \n

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

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

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

[osh-byterun stdout] Expected "['nline', '\\\\nline']\n", got ''
[osh-byterun status] Expected 0, got 1

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module>
    from frontend import args
ImportError: No module named frontend
dash36 Read with IFS=$'\n'

stdout:
[a b c]
stderr:
osh-byterun36 Read with IFS=$'\n'

[osh-byterun stdout] Expected '[ a b c]\n', got ''
[osh-byterun status] Expected 0, got 1

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module>
    from frontend import args
ImportError: No module named frontend
osh-byterun37 Read multiple lines with IFS=:

[osh-byterun stdout] Expected '[ \\a |b: c|d e|]\n', got ''
[osh-byterun status] Expected 0, got 1

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module>
    from frontend import args
ImportError: No module named frontend
osh-byterun38 Read with IFS=''

[osh-byterun stdout] Expected '[ a b c d|]\n', got ''
[osh-byterun status] Expected 0, got 1

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module>
    from frontend import args
ImportError: No module named frontend
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:
osh-byterun39 Read should not respect C escapes.

[osh-byterun stdout] Expected u'a b c d e f g h x65 145 i\n', got ''
[osh-byterun status] Expected 0, got 1

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module>
    from frontend import args
ImportError: No module named frontend
osh-byterun40 Read builtin uses dynamic scope

[osh-byterun stdout] Expected 'ref: refs/heads/dev/andy\n', got ''
[osh-byterun status] Expected 0, got 1

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module>
    from frontend import args
ImportError: No module named frontend
dash41 read -a reads into array

stdout:
stderr: 
mksh41 read -a reads into array

stdout:
stderr: 
zsh41 read -a reads into array

stdout:
stderr: 
ash41 read -a reads into array

stdout:
stderr: 
osh-byterun41 read -a reads into array

[osh-byterun stdout] Expected "['a', 'b', 'c d']\n['a', 'b', 'c\\\\', 'd']\n[]\n[]\n", got ''
[osh-byterun status] Expected 0, got 1

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module>
    from frontend import args
ImportError: No module named frontend