Results for append.test.sh

casebashmkshoshosh_ALTosh-byterundescription
0pass pass pass pass FAIL Append string to string
details
1pass pass pass pass FAIL Append array to array
details
2BUG BUG pass pass pass Append array to string should be an error
detailsdetails
3ok ok pass pass pass Append string to array should be disallowed
detailsdetails
4pass pass pass pass FAIL Append string to array element
details
5pass BUG pass pass FAIL Append to last element
detailsdetails
6pass pass FAIL FAIL pass Try to append list to element
detailsdetails
7pass pass pass pass FAIL Strings have value semantics, not reference semantics
details
8pass pass FAIL FAIL FAIL Append to nonexistent string
detailsdetailsdetails
9pass N-I pass pass FAIL Append to nonexistent array
detailsdetails
10BUG BUG pass pass FAIL Append used like env prefix is a parse error
detailsdetailsdetails

35 passed, 2 ok, 1 known unimplemented, 5 known bugs, 2 failed, 0 skipped

Details on runs that didn't PASS

osh-byterun0 Append string to string

[osh-byterun stdout] Expected 'abcd\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-byterun1 Append array to array

[osh-byterun stdout] Expected "['x', 'y', 't', 'u v']\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
bash2 Append array to string should be an error

stdout:
abc
stderr:
mksh2 Append array to string should be an error

stdout:
abc
stderr:
bash3 Append string to array should be disallowed

stdout:
['xz', 'y']
stderr:
mksh3 Append string to array should be disallowed

stdout:
['xz', 'y']
stderr:
osh-byterun4 Append string to array element

[osh-byterun stdout] Expected "['x', 'yz']\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
mksh5 Append to last element

stdout:
['1', '2 3', ' 4']
stderr:
osh-byterun5 Append to last element

[osh-byterun stdout] Expected "['1', '2 3 4']\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
osh6 Try to append list to element

[osh status] Expected 1, got 2

stdout:
stderr: 
Line 2 of '<stdin>'
  a[-1]+=(4 5)
          ^
Expected word type <Id_t Right_FuncDef 93>, got <Id_t Word_Compound 199>
osh_ALT6 Try to append list to element

[osh_ALT status] Expected 1, got 2

stdout:
stderr: 
Line 2 of '<stdin>'
  a[-1]+=(4 5)
          ^
Expected word type <Id_t Right_FuncDef 93>, got <Id_t Word_Compound 199>
osh-byterun7 Strings have value semantics, not reference semantics

[osh-byterun stdout] Expected 'abcd abc\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
osh8 Append to nonexistent string

[osh stdout] Expected u'a\nb\nc\nd\ne\n', got 'a\nb\nc\n\ne\n'

stdout:
a
b
c

e
stderr:
osh 'export' usage error: export: Invalid variable name 'd+'
osh_ALT8 Append to nonexistent string

[osh_ALT stdout] Expected u'a\nb\nc\nd\ne\n', got 'a\nb\nc\n\ne\n'

stdout:
a
b
c

e
stderr:
osh 'export' usage error: export: Invalid variable name 'd+'
osh-byterun8 Append to nonexistent string

[osh-byterun stdout] Expected u'a\nb\nc\nd\ne\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
mksh9 Append to nonexistent array

stdout:
stderr: 
_tmp/spec-bin/mksh: <stdin>[2]: syntax error: '(' unexpected
osh-byterun9 Append to nonexistent array

[osh-byterun stdout] Expected u"['a', 'b']\n['c', 'd']\n['e', 'f']\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
bash10 Append used like env prefix is a parse error

stdout:
aa
stderr:
mksh10 Append used like env prefix is a parse error

stdout:
a
stderr:
osh-byterun10 Append used like env prefix is a parse error

[osh-byterun status] Expected 2, 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