Results for array.test.sh

casebashmkshoshosh_ALTosh-byterundescription
0pass pass pass pass FAIL SETUP
details
1pass pass pass pass FAIL "${a[@]}" and "${a[*]}"
details
2pass pass pass pass FAIL ${a[@]} and ${a[*]}
details
3pass pass pass pass FAIL 4 ways to interpolate empty array
details
4pass pass pass pass FAIL empty array
details
5pass pass pass pass FAIL Empty array with :-
details
6pass BUG pass pass FAIL nounset with empty array (design bug, makes it hard to use arrays)
detailsdetails
7pass BUG pass pass FAIL local array
detailsdetails
8pass pass pass pass FAIL Command with with word splitting in array
details
9pass ok pass pass FAIL space before ( in array initialization
detailsdetails
10pass pass pass pass FAIL array over multiple lines
details
11pass ok pass pass FAIL array with invalid token
detailsdetails
12pass pass pass pass FAIL array with empty string
details
13pass pass pass pass FAIL Retrieve index
details
14pass pass pass pass FAIL Retrieve out of bounds index
details
15pass N-I pass pass FAIL Negative index
detailsdetails
16pass pass pass pass FAIL Retrieve index that is a variable
details
17pass pass pass pass FAIL Retrieve index that is a variable without $
details
18pass pass pass pass FAIL Retrieve index that is a command sub
details
19pass pass pass pass FAIL Retrieve array indices with ${!a}
details
20pass pass pass pass FAIL Retrieve sparse array indices with ${!a}
details
21pass N-I pass pass FAIL ${!a[1]} is named ref in bash
detailsdetails
22pass ok FAIL FAIL FAIL ${!a} on array
detailsdetailsdetailsdetails
23pass pass pass pass FAIL All elements unquoted
details
24pass pass pass pass FAIL All elements quoted
details
25pass pass pass pass FAIL $*
details
26pass pass pass pass FAIL "$*"
details
27pass pass pass pass FAIL Interpolate array into array
details
28pass ok ok ok FAIL Exporting array doesn't do anything, not even first element
detailsdetailsdetailsdetails
29ok ok pass pass FAIL Arrays can't be used as env bindings
detailsdetailsdetails
30pass pass pass pass FAIL Set element
details
31pass pass pass pass FAIL Set element with var ref
details
32pass pass pass pass FAIL Set element with array ref
details
33pass N-I FAIL FAIL FAIL Set array item to array
detailsdetailsdetailsdetails
34pass N-I pass pass FAIL Slice of array with [@]
detailsdetails
35pass N-I pass pass FAIL Negative slice
detailsdetails
36pass N-I pass pass FAIL Slice with arithmetic
detailsdetails
37pass pass pass pass FAIL Number of elements
details
38pass pass pass pass FAIL Length of an element
details
39pass pass pass pass FAIL Iteration
details
40pass pass pass pass FAIL glob within array yields separate elements
details
41pass pass pass pass FAIL declare array and then append
details
42pass ok pass pass FAIL Array syntax in wrong place
detailsdetails
43ok ok ok ok FAIL Single array with :-
detailsdetailsdetailsdetailsdetails
44pass N-I pass pass FAIL Stripping a whole array unquoted
detailsdetails
45pass N-I pass pass FAIL Stripping a whole array quoted
detailsdetails
46ok ok pass pass FAIL Multiple subscripts not allowed
detailsdetailsdetails
47ok ok pass pass FAIL Length op, index op, then transform op is not allowed
detailsdetailsdetails
48BUG BUG pass pass pass Array subscript not allowed on string
detailsdetails
49pass pass pass pass FAIL Create a "user" array out of the argv array
details
50pass pass pass pass FAIL Tilde expansion within array
details
51pass pass pass pass FAIL Brace Expansion within Array
details
52pass pass pass pass FAIL array default
details
53ok ok pass pass FAIL Singleton Array Copy and Assign. Can't index string with int.
detailsdetailsdetails
54pass pass pass pass FAIL declare -a / local -a is empty array
details
55pass pass pass pass FAIL Create sparse array
details
56pass pass pass pass FAIL Create sparse array implicitly
details
57pass pass pass pass FAIL Append sparse arrays
details
58pass N-I pass pass FAIL Slice of sparse array with [@]
detailsdetails
59pass pass FAIL FAIL FAIL Using an array itself as the index
detailsdetailsdetails

203 passed, 19 ok, 9 known unimplemented, 4 known bugs, 3 failed, 0 skipped

Details on runs that didn't PASS

osh-byterun0 SETUP

[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 "${a[@]}" and "${a[*]}"

[osh-byterun stdout] Expected "['1', '2 3', '1 2 3']\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-byterun2 ${a[@]} and ${a[*]}

[osh-byterun stdout] Expected "['1', '2', '3', '1', '2', '3']\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-byterun3 4 ways to interpolate empty array

[osh-byterun stdout] Expected "['1', '2', '3', '', '4', '5']\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-byterun4 empty array

[osh-byterun stdout] Expected '[]\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 Empty array with :-

[osh-byterun stdout] Expected "['not', 'one', 'not 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
mksh6 nounset with empty array (design bug, makes it hard to use arrays)

stdout:
stderr: 
_tmp/spec-bin/mksh: <stdin>[3]: empty[@]: parameter not set
osh-byterun6 nounset with empty array (design bug, makes it hard to use arrays)

[osh-byterun stdout] Expected '[]\nstatus=0\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
mksh7 local array

stdout:
stderr: 
_tmp/spec-bin/mksh: <stdin>[2]: syntax error: '(' unexpected
osh-byterun7 local array

[osh-byterun stdout] Expected "['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-byterun8 Command with with word splitting in array

[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
mksh9 space before ( in array initialization

stdout:
1
stderr:
osh-byterun9 space before ( in array initialization

[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
osh-byterun10 array over multiple lines

[osh-byterun stdout] Expected "['1', '2 3']\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
mksh11 array with invalid token

stdout:
stderr: 
_tmp/spec-bin/mksh: <stdin>[3]: syntax error: '&' unexpected
osh-byterun11 array with invalid token

[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
osh-byterun12 array with empty string

[osh-byterun stdout] Expected "['']\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-byterun13 Retrieve index

[osh-byterun stdout] Expected "['2 3']\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-byterun14 Retrieve out of bounds index

[osh-byterun stdout] Expected "['']\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
mksh15 Negative index

stdout:
['', '', '']
stderr:
osh-byterun15 Negative index

[osh-byterun stdout] Expected "['2 3', '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-byterun16 Retrieve index that is a variable

[osh-byterun stdout] Expected "['2 3']\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-byterun17 Retrieve index that is a variable without $

[osh-byterun stdout] Expected "['2 3']\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-byterun18 Retrieve index that is a command sub

[osh-byterun stdout] Expected "['2 3']\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-byterun19 Retrieve array indices with ${!a}

[osh-byterun stdout] Expected "['0', '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-byterun20 Retrieve sparse array indices with ${!a}

[osh-byterun stdout] Expected "['99']\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
mksh21 ${!a[1]} is named ref in bash

stdout:
['a[1]']
stderr:
osh-byterun21 ${!a[1]} is named ref in bash

[osh-byterun stdout] Expected "['bar']\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
mksh22 ${!a} on array

stdout:
['a']
stderr:
osh22 ${!a} on array

[osh stdout] Expected "['']\n", got "['0', '1']\n"

stdout:
['0', '1']
stderr:
osh_ALT22 ${!a} on array

[osh_ALT stdout] Expected "['']\n", got "['0', '1']\n"

stdout:
['0', '1']
stderr:
osh-byterun22 ${!a} on array

[osh-byterun stdout] Expected "['']\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-byterun23 All elements unquoted

[osh-byterun stdout] Expected "['1', '2', '3']\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 All elements quoted

[osh-byterun stdout] Expected "['1', '2 3']\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 $*

[osh-byterun stdout] Expected "['1', '2', '3']\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 "$*"

[osh-byterun stdout] Expected "['1 2 3']\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-byterun27 Interpolate array into array

[osh-byterun stdout] Expected "['0', '1', '2 3', '4 5']\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
mksh28 Exporting array doesn't do anything, not even first element

stdout:
stderr: 
_tmp/spec-bin/mksh: <stdin>[1]: syntax error: '(' unexpected
osh28 Exporting array doesn't do anything, not even first element

stdout:
stderr: 
Line 1 of '<stdin>'
  export PYTHONPATH=(a b c)
         ^~~~~~~~~~~
Commands can't contain array literals
osh_ALT28 Exporting array doesn't do anything, not even first element

stdout:
stderr: 
Line 1 of '<stdin>'
  export PYTHONPATH=(a b c)
         ^~~~~~~~~~~
Commands can't contain array literals
osh-byterun28 Exporting array doesn't do anything, not even first element

[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
bash29 Arrays can't be used as env bindings

stdout:
a
(b b)
stderr:
mksh29 Arrays can't be used as env bindings

stdout:
stderr: 
_tmp/spec-bin/mksh: <stdin>[1]: syntax error: '(' unexpected
osh-byterun29 Arrays can't be used as env bindings

[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
osh-byterun30 Set element

[osh-byterun stdout] Expected "['9', '2 3']\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 Set element with var ref

[osh-byterun stdout] Expected "['9', '2 3']\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-byterun32 Set element with array ref

[osh-byterun stdout] Expected "['1', '9']\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
mksh33 Set array item to array

stdout:
stderr: 
_tmp/spec-bin/mksh: <stdin>[2]: set: a[0]: is not an identifier
osh33 Set array item to array

[osh stdout] Expected 'status=1\n', got ''
[osh status] Expected 0, got 2

stdout:
stderr: 
Line 2 of '<stdin>'
  a[0]=(3 4)
        ^
Expected word type <Id_t Right_FuncDef 93>, got <Id_t Word_Compound 199>
osh_ALT33 Set array item to array

[osh_ALT stdout] Expected 'status=1\n', got ''
[osh_ALT status] Expected 0, got 2

stdout:
stderr: 
Line 2 of '<stdin>'
  a[0]=(3 4)
        ^
Expected word type <Id_t Right_FuncDef 93>, got <Id_t Word_Compound 199>
osh-byterun33 Set array item to array

[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
mksh34 Slice of array with [@]

stdout:
stderr: 
_tmp/spec-bin/mksh: <stdin>[2]: ${a[@]: 1:2}: bad substitution
osh-byterun34 Slice of array with [@]

[osh-byterun stdout] Expected "['2', '3']\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
mksh35 Negative slice

stdout:
stderr: 
_tmp/spec-bin/mksh: <stdin>[2]: ${a[@]: (-2):1}: bad substitution
osh-byterun35 Negative slice

[osh-byterun stdout] Expected "['2']\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
mksh36 Slice with arithmetic

stdout:
stderr: 
_tmp/spec-bin/mksh: <stdin>[3]: ${a[@]:i-4:2}: bad substitution
osh-byterun36 Slice with arithmetic

[osh-byterun stdout] Expected "['2', '3']\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 Number of elements

[osh-byterun stdout] Expected '2 2\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 Length of an element

[osh-byterun stdout] Expected '3\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-byterun39 Iteration

[osh-byterun stdout] Expected u'1\n2 3\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 glob within array yields separate elements

[osh-byterun stdout] Expected "['_tmp/y.Y', '_tmp/yy.Y']\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-byterun41 declare array and then append

[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
mksh42 Array syntax in wrong place

stdout:
stderr: 
_tmp/spec-bin/mksh: <stdin>[1]: syntax error: '(' unexpected
osh-byterun42 Array syntax in wrong place

[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
bash43 Single array with :-

stdout:
['none', 'x', '']
stderr:
mksh43 Single array with :-

stdout:
['none', 'x', 'none']
stderr:
osh43 Single array with :-

stdout:
['x', '']
stderr:
osh_ALT43 Single array with :-

stdout:
['x', '']
stderr:
osh-byterun43 Single array with :-

[osh-byterun stdout] Expected "['x', '']\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
mksh44 Stripping a whole array unquoted

stdout:
stderr: 
_tmp/spec-bin/mksh: <stdin>[2]: ${files[@]%.c}: bad substitution
osh-byterun44 Stripping a whole array unquoted

[osh-byterun stdout] Expected "['foo', 'sp', 'ace.h', 'bar']\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
mksh45 Stripping a whole array quoted

stdout:
stderr: 
_tmp/spec-bin/mksh: <stdin>[2]: ${files[@]%.c}: bad substitution
osh-byterun45 Stripping a whole array quoted

[osh-byterun stdout] Expected "['foo', 'sp ace.h', 'bar']\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
bash46 Multiple subscripts not allowed

stdout:
stderr: 
_tmp/spec-bin/bash: line 2: ${a[0][0]}: bad substitution
mksh46 Multiple subscripts not allowed

stdout:
stderr: 
_tmp/spec-bin/mksh: <stdin>[2]: ${a[0][0]}: bad substitution
osh-byterun46 Multiple subscripts not allowed

[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
bash47 Length op, index op, then transform op is not allowed

stdout:
stderr: 
_tmp/spec-bin/bash: line 2: ${#a[0]/1/xxx}: bad substitution
mksh47 Length op, index op, then transform op is not allowed

stdout:
stderr: 
_tmp/spec-bin/mksh: <stdin>[2]: ${#a[0]/1/xxx}: bad substitution
osh-byterun47 Length op, index op, then transform op is not allowed

[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
bash48 Array subscript not allowed on string

stdout:
abc
stderr:
mksh48 Array subscript not allowed on string

stdout:
abc
stderr:
osh-byterun49 Create a "user" array out of the argv array

[osh-byterun stdout] Expected "['x y', 'z', '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-byterun50 Tilde expansion within array

[osh-byterun stdout] Expected '/home/bob/src /home/bob/git\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-byterun51 Brace Expansion within Array

[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
osh-byterun52 array default

[osh-byterun stdout] Expected "['1 2', '3']\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
bash53 Singleton Array Copy and Assign. Can't index string with int.

stdout:
4 4
1 1
4 4
1 1
stderr:
mksh53 Singleton Array Copy and Assign. Can't index string with int.

stdout:
4 4
1 1
4 4
1 1
stderr:
osh-byterun53 Singleton Array Copy and Assign. Can't index string with int.

[osh-byterun stdout] Expected '4 4\n1 1\n', got ''

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-byterun54 declare -a / local -a is empty array

[osh-byterun stdout] Expected "[]\n['x']\n[]\n['x']\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-byterun55 Create sparse array

[osh-byterun stdout] Expected "len=1\n['1']\nunset=\nlen-of-unset=0\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-byterun56 Create sparse array implicitly

[osh-byterun stdout] Expected "len=1\n['1']\nunset=\nlen-of-unset=0\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-byterun57 Append sparse arrays

[osh-byterun stdout] Expected "['1', '2', '3']\n['1', '2', '3']\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
mksh58 Slice of sparse array with [@]

stdout:
stderr: 
_tmp/spec-bin/mksh: <stdin>[4]: ${a[@]: 15:2}: bad substitution
osh-byterun58 Slice of sparse array with [@]

[osh-byterun stdout] Expected "['1', '2']\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
osh59 Using an array itself as the index

[osh stdout] Expected "['42', '99', '42', '99', '']\n", got ''
[osh status] Expected 0, got 1

stdout:
stderr: 
Line 1 of '<stdin>'
  a[a]=42
  ^~
osh warning: Coercing undefined value to 0 in arithmetic context
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/oil.py", line 783, in <module>
    main(sys.argv)
  File "/home/andy/git/oilshell/oil/bin/oil.py", line 752, in main
    sys.exit(AppBundleMain(argv))
  File "/home/andy/git/oilshell/oil/bin/oil.py", line 726, in AppBundleMain
    status = ShellMain('osh', argv0, main_argv, login_shell)
  File "/home/andy/git/oilshell/oil/bin/oil.py", line 558, in ShellMain
    status = main_loop.Batch(ex, c_parser, arena, nodes_out=nodes_out)
  File "/home/andy/git/oilshell/oil/core/main_loop.py", line 162, in Batch
    is_control_flow, is_fatal = ex.ExecuteAndCatch(node)
  File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1236, in ExecuteAndCatch
    status = self._Execute(node, fork_external=fork_external)
  File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1184, in _Execute
    status, check_errexit = self._Dispatch(node, fork_external)
  File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 847, in _Dispatch
    self.mem.SetVar(lval, val, flags, lookup_mode)
  File "/home/andy/git/oilshell/oil/osh/state.py", line 891, in SetVar
    strs[lval.index] = val.s
TypeError: list indices must be integers, not list
osh_ALT59 Using an array itself as the index

[osh_ALT stdout] Expected "['42', '99', '42', '99', '']\n", got ''
[osh_ALT status] Expected 0, got 1

stdout:
stderr: 
Line 1 of '<stdin>'
  a[a]=42
  ^~
osh warning: Coercing undefined value to 0 in arithmetic context
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/oil.py", line 770, in _cpython_main_hook
    main(sys.argv)
  File "/home/andy/git/oilshell/oil/bin/oil.py", line 752, in main
    sys.exit(AppBundleMain(argv))
  File "/home/andy/git/oilshell/oil/bin/oil.py", line 745, in AppBundleMain
    return readlink.main(main_argv)
  File "/home/andy/git/oilshell/oil/bin/oil.py", line 558, in ShellMain
    status = main_loop.Batch(ex, c_parser, arena, nodes_out=nodes_out)
  File "/home/andy/git/oilshell/oil/core/main_loop.py", line 169, in Batch
    return ex.LastStatus()
  File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1236, in ExecuteAndCatch
    status = self._Execute(node, fork_external=fork_external)
  File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1184, in _Execute
    status, check_errexit = self._Dispatch(node, fork_external)
  File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1129, in _Dispatch
    libc.print_time(real, user, sys_)
  File "/home/andy/git/oilshell/oil/osh/state.py", line 891, in SetVar
    strs[lval.index] = val.s
TypeError: list indices must be integers, not list
FATAL: couldn't import from app bundle '_tmp/oil-tar-test/oil-0.6.pre17/_bin/osh' (1)
Stripping the oil.ovm binary may cause this error.
See https://github.com/oilshell/oil/issues/47
osh-byterun59 Using an array itself as the index

[osh-byterun stdout] Expected "['42', '99', '42', '99', '']\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