Results for array.test.sh

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

Details on runs that didn't PASS

osh_.py1 "${a[@]}" and "${a[*]}"

[osh_.py stdout] Expected "['1', '2 3', '1 2 3']\n", got "(cmd_value.Argv argv:[argv.py 1 '2 3' '1 2 3'] arg_spids:[9 11 11 20])\n"

stdout:
(cmd_value.Argv argv:[argv.py 1 '2 3' '1 2 3'] arg_spids:[9 11 11 20])
stderr:
Unhandled SimpleCommand
osh_.cc1 "${a[@]}" and "${a[*]}"

[osh_.cc stdout] Expected "['1', '2 3', '1 2 3']\n", got "(cmd_value.Argv argv:[argv.py 1 '2 3' '1 2 3'] arg_spids:[9 11 11 20])\n"

stdout:
(cmd_value.Argv argv:[argv.py 1 '2 3' '1 2 3'] arg_spids:[9 11 11 20])
stderr:
Unhandled SimpleCommand
osh_.py2 ${a[@]} and ${a[*]}

[osh_.py stdout] Expected "['1', '2', '3', '1', '2', '3']\n", got '(cmd_value.Argv argv:[argv.py 1 2 3 1 2 3] arg_spids:[9 11 11 11 18 18 18])\n'

stdout:
(cmd_value.Argv argv:[argv.py 1 2 3 1 2 3] arg_spids:[9 11 11 11 18 18 18])
stderr:
Unhandled SimpleCommand
osh_.cc2 ${a[@]} and ${a[*]}

[osh_.cc stdout] Expected "['1', '2', '3', '1', '2', '3']\n", got '(cmd_value.Argv argv:[argv.py 1 2 3 1 2 3] arg_spids:[9 11 11 11 18 18 18])\n'

stdout:
(cmd_value.Argv argv:[argv.py 1 2 3 1 2 3] arg_spids:[9 11 11 11 18 18 18])
stderr:
Unhandled SimpleCommand
osh_.py3 4 ways to interpolate empty array

[osh_.py stdout] Expected "['1', '2', '3', '', '4', '5']\n", got "(cmd_value.Argv argv:[argv.py 1 2 3 '' 4 5] arg_spids:[0 2 13 22 24 33 42])\n"

stdout:
(cmd_value.Argv argv:[argv.py 1 2 3 '' 4 5] arg_spids:[0 2 13 22 24 33 42])
stderr:
Unhandled SimpleCommand
osh_.cc3 4 ways to interpolate empty array

[osh_.cc stdout] Expected "['1', '2', '3', '', '4', '5']\n", got ''
[osh_.cc status] Expected 0, got -11

stdout:
stderr: 
osh_.py4 empty array

[osh_.py stdout] Expected '[]\n', got '(cmd_value.Argv argv:[argv.py] arg_spids:[4])\n'

stdout:
(cmd_value.Argv argv:[argv.py] arg_spids:[4])
stderr:
Unhandled SimpleCommand
osh_.cc4 empty array

[osh_.cc stdout] Expected '[]\n', got '(cmd_value.Argv argv:[argv.py] arg_spids:[4])\n'

stdout:
(cmd_value.Argv argv:[argv.py] arg_spids:[4])
stderr:
Unhandled SimpleCommand
osh_.py5 Empty array with :-

[osh_.py stdout] Expected "['not', 'one', 'not one']\n", got "(cmd_value.Argv argv:[argv.py not one 'not one'] arg_spids:[4 6 6 15])\n"

stdout:
(cmd_value.Argv argv:[argv.py not one 'not one'] arg_spids:[4 6 6 15])
stderr:
Unhandled SimpleCommand
osh_.cc5 Empty array with :-

[osh_.cc stdout] Expected "['not', 'one', 'not one']\n", got "(cmd_value.Argv argv:[argv.py not one 'not one'] arg_spids:[4 6 6 15])\n"

stdout:
(cmd_value.Argv argv:[argv.py not one 'not one'] arg_spids:[4 6 6 15])
stderr:
Unhandled SimpleCommand
osh_.py6 nounset with empty array (design bug, makes it hard to use arrays)

[osh_.py stdout] Expected '[]\nstatus=0\n', got '(cmd_value.Argv argv:[argv.py] arg_spids:[10])\nstatus=0\n'

stdout:
(cmd_value.Argv argv:[argv.py] arg_spids:[10])
status=0
stderr:
Unhandled SimpleCommand
osh_.cc6 nounset with empty array (design bug, makes it hard to use arrays)

[osh_.cc stdout] Expected '[]\nstatus=0\n', got '(cmd_value.Argv argv:[argv.py] arg_spids:[10])\nstatus=0\n'

stdout:
(cmd_value.Argv argv:[argv.py] arg_spids:[10])
status=0
stderr:
Unhandled SimpleCommand
osh_.py7 local array

[osh_.py stdout] Expected "['1']\n", got '(cmd_value.Argv argv:[argv.py 1] arg_spids:[19 21])\n'

stdout:
(cmd_value.Argv argv:[argv.py 1] arg_spids:[19 21])
stderr:
Unhandled SimpleCommand
osh_.cc7 local array

[osh_.cc stdout] Expected "['1']\n", got '(cmd_value.Argv argv:[argv.py 1] arg_spids:[19 21])\n'

stdout:
(cmd_value.Argv argv:[argv.py 1] arg_spids:[19 21])
stderr:
Unhandled SimpleCommand
osh_.py8 Command with with word splitting in array

[osh_.py stdout] Expected "['1 2', '3', '4']\n", got "(cmd_value.Argv argv:[argv.py '1 2'] arg_spids:[15 17])\n"

stdout:
(cmd_value.Argv argv:[argv.py '1 2'] arg_spids:[15 17])
stderr:
Unhandled SimpleCommand
osh_.cc8 Command with with word splitting in array

[osh_.cc stdout] Expected "['1 2', '3', '4']\n", got "(cmd_value.Argv argv:[argv.py '1 2'] arg_spids:[15 17])\n"

stdout:
(cmd_value.Argv argv:[argv.py '1 2'] arg_spids:[15 17])
stderr:
Unhandled SimpleCommand
osh_.py10 array over multiple lines

[osh_.py stdout] Expected "['1', '2 3']\n", got "(cmd_value.Argv argv:[argv.py 1 '2 3'] arg_spids:[11 13 13])\n"

stdout:
(cmd_value.Argv argv:[argv.py 1 '2 3'] arg_spids:[11 13 13])
stderr:
Unhandled SimpleCommand
osh_.cc10 array over multiple lines

[osh_.cc stdout] Expected "['1', '2 3']\n", got "(cmd_value.Argv argv:[argv.py 1 '2 3'] arg_spids:[11 13 13])\n"

stdout:
(cmd_value.Argv argv:[argv.py 1 '2 3'] arg_spids:[11 13 13])
stderr:
Unhandled SimpleCommand
osh_.py12 array with empty string

[osh_.py stdout] Expected "['']\n", got "(cmd_value.Argv argv:[argv.py ''] arg_spids:[6 8])\n"

stdout:
(cmd_value.Argv argv:[argv.py ''] arg_spids:[6 8])
stderr:
Unhandled SimpleCommand
osh_.cc12 array with empty string

[osh_.cc stdout] Expected "['']\n", got "(cmd_value.Argv argv:[argv.py ''] arg_spids:[6 8])\n"

stdout:
(cmd_value.Argv argv:[argv.py ''] arg_spids:[6 8])
stderr:
Unhandled SimpleCommand
osh_.py13 Retrieve index

[osh_.py stdout] Expected "['2 3']\n", got "(cmd_value.Argv argv:[argv.py '2 3'] arg_spids:[9 11])\n"

stdout:
(cmd_value.Argv argv:[argv.py '2 3'] arg_spids:[9 11])
stderr:
Unhandled SimpleCommand
osh_.cc13 Retrieve index

[osh_.cc stdout] Expected "['2 3']\n", got "(cmd_value.Argv argv:[argv.py '2 3'] arg_spids:[9 11])\n"

stdout:
(cmd_value.Argv argv:[argv.py '2 3'] arg_spids:[9 11])
stderr:
Unhandled SimpleCommand
osh_.py14 Retrieve out of bounds index

[osh_.py stdout] Expected "['']\n", got "(cmd_value.Argv argv:[argv.py ''] arg_spids:[9 11])\n"

stdout:
(cmd_value.Argv argv:[argv.py ''] arg_spids:[9 11])
stderr:
Unhandled SimpleCommand
osh_.cc14 Retrieve out of bounds index

[osh_.cc stdout] Expected "['']\n", got "(cmd_value.Argv argv:[argv.py ''] arg_spids:[9 11])\n"

stdout:
(cmd_value.Argv argv:[argv.py ''] arg_spids:[9 11])
stderr:
Unhandled SimpleCommand
osh_.py15 Negative index

[osh_.py stdout] Expected "['2 3', '1', '']\n", got "(cmd_value.Argv argv:[argv.py '2 3' 1 ''] arg_spids:[9 11 21 31])\n"

stdout:
(cmd_value.Argv argv:[argv.py '2 3' 1 ''] arg_spids:[9 11 21 31])
stderr:
Unhandled SimpleCommand
osh_.cc15 Negative index

[osh_.cc stdout] Expected "['2 3', '1', '']\n", got "(cmd_value.Argv argv:[argv.py '2 3' 1 ''] arg_spids:[9 11 21 31])\n"

stdout:
(cmd_value.Argv argv:[argv.py '2 3' 1 ''] arg_spids:[9 11 21 31])
stderr:
Unhandled SimpleCommand
osh_.cc16 Negative index and sparse array

[osh_.cc stdout] Expected '0 2 3\n-1 3\n-2 2\n-3\n-4 0\n-5\n0 2 30\n0 2 72\n', got ''
[osh_.cc status] Expected 0, got -11

stdout:
stderr: 
osh_.py19 Retrieve index that is a variable

[osh_.py stdout] Expected "['2 3']\n", got "(cmd_value.Argv argv:[argv.py '2 3'] arg_spids:[12 14])\n"

stdout:
(cmd_value.Argv argv:[argv.py '2 3'] arg_spids:[12 14])
stderr:
Unhandled SimpleCommand
osh_.cc19 Retrieve index that is a variable

[osh_.cc stdout] Expected "['2 3']\n", got "(cmd_value.Argv argv:[argv.py '2 3'] arg_spids:[12 14])\n"

stdout:
(cmd_value.Argv argv:[argv.py '2 3'] arg_spids:[12 14])
stderr:
Unhandled SimpleCommand
osh_.py20 Retrieve index that is a variable without $

[osh_.py stdout] Expected "['2 3']\n", got "(cmd_value.Argv argv:[argv.py '2 3'] arg_spids:[12 14])\n"

stdout:
(cmd_value.Argv argv:[argv.py '2 3'] arg_spids:[12 14])
stderr:
Unhandled SimpleCommand
osh_.cc20 Retrieve index that is a variable without $

[osh_.cc stdout] Expected "['2 3']\n", got "(cmd_value.Argv argv:[argv.py '2 3'] arg_spids:[12 14])\n"

stdout:
(cmd_value.Argv argv:[argv.py '2 3'] arg_spids:[12 14])
stderr:
Unhandled SimpleCommand
osh_.py21 Retrieve index that is a command sub

[osh_.py stdout] Expected "['2 3']\n", got '(cmd_value.Argv argv:[argv.py 1] arg_spids:[9 11])\n'

stdout:
(cmd_value.Argv argv:[argv.py 1] arg_spids:[9 11])
stderr:
Unhandled SimpleCommand
osh_.cc21 Retrieve index that is a command sub

[osh_.cc stdout] Expected "['2 3']\n", got '(cmd_value.Argv argv:[argv.py 1] arg_spids:[9 11])\n'

stdout:
(cmd_value.Argv argv:[argv.py 1] arg_spids:[9 11])
stderr:
Unhandled SimpleCommand
osh_.py22 Retrieve array indices with ${!a}

[osh_.py stdout] Expected "['0', '1']\n", got '(cmd_value.Argv argv:[argv.py 0 1] arg_spids:[9 11 11])\n'

stdout:
(cmd_value.Argv argv:[argv.py 0 1] arg_spids:[9 11 11])
stderr:
Unhandled SimpleCommand
osh_.cc22 Retrieve array indices with ${!a}

[osh_.cc stdout] Expected "['0', '1']\n", got '(cmd_value.Argv argv:[argv.py 0 1] arg_spids:[9 11 11])\n'

stdout:
(cmd_value.Argv argv:[argv.py 0 1] arg_spids:[9 11 11])
stderr:
Unhandled SimpleCommand
osh_.py23 Retrieve sparse array indices with ${!a}

[osh_.py stdout] Expected "['99']\n", got '(cmd_value.Argv argv:[argv.py 99] arg_spids:[16 18])\n'

stdout:
(cmd_value.Argv argv:[argv.py 99] arg_spids:[16 18])
stderr:
Unhandled SimpleCommand
osh_.cc23 Retrieve sparse array indices with ${!a}

[osh_.cc stdout] Expected "['99']\n", got '(cmd_value.Argv argv:[argv.py 99] arg_spids:[16 18])\n'

stdout:
(cmd_value.Argv argv:[argv.py 99] arg_spids:[16 18])
stderr:
Unhandled SimpleCommand
osh_.py24 ${!a[1]} is named ref in bash

[osh_.py stdout] Expected "['bar']\n", got '(cmd_value.Argv argv:[argv.py bar] arg_spids:[16 18])\n'

stdout:
(cmd_value.Argv argv:[argv.py bar] arg_spids:[16 18])
stderr:
Unhandled SimpleCommand
osh_.cc24 ${!a[1]} is named ref in bash

[osh_.cc stdout] Expected "['bar']\n", got '(cmd_value.Argv argv:[argv.py bar] arg_spids:[16 18])\n'

stdout:
(cmd_value.Argv argv:[argv.py bar] arg_spids:[16 18])
stderr:
Unhandled SimpleCommand
osh_.py26 All elements unquoted

[osh_.py stdout] Expected "['1', '2', '3']\n", got '(cmd_value.Argv argv:[argv.py 1 2 3] arg_spids:[9 11 11 11])\n'

stdout:
(cmd_value.Argv argv:[argv.py 1 2 3] arg_spids:[9 11 11 11])
stderr:
Unhandled SimpleCommand
osh_.cc26 All elements unquoted

[osh_.cc stdout] Expected "['1', '2', '3']\n", got '(cmd_value.Argv argv:[argv.py 1 2 3] arg_spids:[9 11 11 11])\n'

stdout:
(cmd_value.Argv argv:[argv.py 1 2 3] arg_spids:[9 11 11 11])
stderr:
Unhandled SimpleCommand
osh_.py27 All elements quoted

[osh_.py stdout] Expected "['1', '2 3']\n", got "(cmd_value.Argv argv:[argv.py 1 '2 3'] arg_spids:[9 11 11])\n"

stdout:
(cmd_value.Argv argv:[argv.py 1 '2 3'] arg_spids:[9 11 11])
stderr:
Unhandled SimpleCommand
osh_.cc27 All elements quoted

[osh_.cc stdout] Expected "['1', '2 3']\n", got "(cmd_value.Argv argv:[argv.py 1 '2 3'] arg_spids:[9 11 11])\n"

stdout:
(cmd_value.Argv argv:[argv.py 1 '2 3'] arg_spids:[9 11 11])
stderr:
Unhandled SimpleCommand
osh_.py28 $*

[osh_.py stdout] Expected "['1', '2', '3']\n", got '(cmd_value.Argv argv:[argv.py 1 2 3] arg_spids:[9 11 11 11])\n'

stdout:
(cmd_value.Argv argv:[argv.py 1 2 3] arg_spids:[9 11 11 11])
stderr:
Unhandled SimpleCommand
osh_.cc28 $*

[osh_.cc stdout] Expected "['1', '2', '3']\n", got '(cmd_value.Argv argv:[argv.py 1 2 3] arg_spids:[9 11 11 11])\n'

stdout:
(cmd_value.Argv argv:[argv.py 1 2 3] arg_spids:[9 11 11 11])
stderr:
Unhandled SimpleCommand
osh_.py29 "$*"

[osh_.py stdout] Expected "['1 2 3']\n", got "(cmd_value.Argv argv:[argv.py '1 2 3'] arg_spids:[9 11])\n"

stdout:
(cmd_value.Argv argv:[argv.py '1 2 3'] arg_spids:[9 11])
stderr:
Unhandled SimpleCommand
osh_.cc29 "$*"

[osh_.cc stdout] Expected "['1 2 3']\n", got "(cmd_value.Argv argv:[argv.py '1 2 3'] arg_spids:[9 11])\n"

stdout:
(cmd_value.Argv argv:[argv.py '1 2 3'] arg_spids:[9 11])
stderr:
Unhandled SimpleCommand
osh_.py30 Interpolate array into array

[osh_.py stdout] Expected "['0', '1', '2 3', '4 5']\n", got "(cmd_value.Argv argv:[argv.py 0 1 '2 3' '4 5'] arg_spids:[27 29 29 29 29])\n"

stdout:
(cmd_value.Argv argv:[argv.py 0 1 '2 3' '4 5'] arg_spids:[27 29 29 29 29])
stderr:
Unhandled SimpleCommand
osh_.cc30 Interpolate array into array

[osh_.cc stdout] Expected "['0', '1', '2 3', '4 5']\n", got "(cmd_value.Argv argv:[argv.py 0 1 '2 3' '4 5'] arg_spids:[27 29 29 29 29])\n"

stdout:
(cmd_value.Argv argv:[argv.py 0 1 '2 3' '4 5'] arg_spids:[27 29 29 29 29])
stderr:
Unhandled SimpleCommand
osh_.py33 Set element

[osh_.py stdout] Expected "['9', '2 3']\n", got "(cmd_value.Argv argv:[argv.py 9 '2 3'] arg_spids:[16 18 18])\n"

stdout:
(cmd_value.Argv argv:[argv.py 9 '2 3'] arg_spids:[16 18 18])
stderr:
Unhandled SimpleCommand
osh_.cc33 Set element

[osh_.cc stdout] Expected "['9', '2 3']\n", got "(cmd_value.Argv argv:[argv.py 9 '2 3'] arg_spids:[16 18 18])\n"

stdout:
(cmd_value.Argv argv:[argv.py 9 '2 3'] arg_spids:[16 18 18])
stderr:
Unhandled SimpleCommand
osh_.py34 Set element with var ref

[osh_.py stdout] Expected "['9', '2 3']\n", got "(cmd_value.Argv argv:[argv.py 9 '2 3'] arg_spids:[19 21 21])\n"

stdout:
(cmd_value.Argv argv:[argv.py 9 '2 3'] arg_spids:[19 21 21])
stderr:
Unhandled SimpleCommand
osh_.cc34 Set element with var ref

[osh_.cc stdout] Expected "['9', '2 3']\n", got "(cmd_value.Argv argv:[argv.py 9 '2 3'] arg_spids:[19 21 21])\n"

stdout:
(cmd_value.Argv argv:[argv.py 9 '2 3'] arg_spids:[19 21 21])
stderr:
Unhandled SimpleCommand
osh_.py35 Set element with array ref

[osh_.py stdout] Expected "['1', '9']\n", got '(cmd_value.Argv argv:[argv.py 1 9] arg_spids:[33 35 35])\n'

stdout:
(cmd_value.Argv argv:[argv.py 1 9] arg_spids:[33 35 35])
stderr:
Unhandled SimpleCommand
osh_.cc35 Set element with array ref

[osh_.cc stdout] Expected "['1', '9']\n", got '(cmd_value.Argv argv:[argv.py 1 9] arg_spids:[33 35 35])\n'

stdout:
(cmd_value.Argv argv:[argv.py 1 9] arg_spids:[33 35 35])
stderr:
Unhandled SimpleCommand
osh_.py37 Slice of array with [@]

[osh_.py stdout] Expected "['2', '3']\n", got '(cmd_value.Argv argv:[argv.py 2 3] arg_spids:[9 11 11])\n'

stdout:
(cmd_value.Argv argv:[argv.py 2 3] arg_spids:[9 11 11])
stderr:
Unhandled SimpleCommand
osh_.cc37 Slice of array with [@]

[osh_.cc stdout] Expected "['2', '3']\n", got '(cmd_value.Argv argv:[argv.py 1 2 3] arg_spids:[9 11 11 11])\n'

stdout:
(cmd_value.Argv argv:[argv.py 1 2 3] arg_spids:[9 11 11 11])
stderr:
Unhandled SimpleCommand
osh_.py38 Negative slice begin

[osh_.py stdout] Expected "['2', '3', '4', '5']\n", got '(cmd_value.Argv argv:[argv.py 2 3 4 5] arg_spids:[13 15 15 15 15])\n'

stdout:
(cmd_value.Argv argv:[argv.py 2 3 4 5] arg_spids:[13 15 15 15 15])
stderr:
Unhandled SimpleCommand
osh_.cc38 Negative slice begin

[osh_.cc stdout] Expected "['2', '3', '4', '5']\n", got '(cmd_value.Argv argv:[argv.py 1 2 3 4 5] arg_spids:[13 15 15 15 15 15])\n'

stdout:
(cmd_value.Argv argv:[argv.py 1 2 3 4 5] arg_spids:[13 15 15 15 15 15])
stderr:
Unhandled SimpleCommand
osh_.py40 Slice with arithmetic

[osh_.py stdout] Expected "['2', '3']\n", got '(cmd_value.Argv argv:[argv.py 2 3] arg_spids:[12 14 14])\n'

stdout:
(cmd_value.Argv argv:[argv.py 2 3] arg_spids:[12 14 14])
stderr:
Unhandled SimpleCommand
osh_.cc40 Slice with arithmetic

[osh_.cc stdout] Expected "['2', '3']\n", got '(cmd_value.Argv argv:[argv.py 1 2 3] arg_spids:[12 14 14 14])\n'

stdout:
(cmd_value.Argv argv:[argv.py 1 2 3] arg_spids:[12 14 14 14])
stderr:
Unhandled SimpleCommand
osh_.py44 glob within array yields separate elements

[osh_.py stdout] Expected "['_tmp/y.Y', '_tmp/yy.Y']\n", got "(cmd_value.Argv argv:[touch '_tmp/y.Y' '_tmp/yy.Y'] arg_spids:[0 2 4])\n(cmd_value.Argv argv:[argv.py '_tmp/y.Y' '_tmp/yy.Y'] arg_spids:[13 15 15])\n"

stdout:
(cmd_value.Argv argv:[touch '_tmp/y.Y' '_tmp/yy.Y'] arg_spids:[0 2 4])
(cmd_value.Argv argv:[argv.py '_tmp/y.Y' '_tmp/yy.Y'] arg_spids:[13 15 15])
stderr:
Unhandled SimpleCommand
Unhandled SimpleCommand
osh_.cc44 glob within array yields separate elements

[osh_.cc stdout] Expected "['_tmp/y.Y', '_tmp/yy.Y']\n", got "(cmd_value.Argv argv:[touch '_tmp/y.Y' '_tmp/yy.Y'] arg_spids:[0 2 4])\n(cmd_value.Argv argv:[argv.py '_tmp/y.Y' '_tmp/yy.Y'] arg_spids:[13 15 15])\n"

stdout:
(cmd_value.Argv argv:[touch '_tmp/y.Y' '_tmp/yy.Y'] arg_spids:[0 2 4])
(cmd_value.Argv argv:[argv.py '_tmp/y.Y' '_tmp/yy.Y'] arg_spids:[13 15 15])
stderr:
Unhandled SimpleCommand
Unhandled SimpleCommand
osh_.py45 declare array and then append

[osh_.py stdout] Expected "['a', 'b', 'c']\n", got '(cmd_value.Argv argv:[argv.py a b c] arg_spids:[18 20 20 20])\n'

stdout:
(cmd_value.Argv argv:[argv.py a b c] arg_spids:[18 20 20 20])
stderr:
Unhandled SimpleCommand
osh_.cc45 declare array and then append

[osh_.cc stdout] Expected "['a', 'b', 'c']\n", got '(cmd_value.Argv argv:[argv.py a b c] arg_spids:[18 20 20 20])\n'

stdout:
(cmd_value.Argv argv:[argv.py a b c] arg_spids:[18 20 20 20])
stderr:
Unhandled SimpleCommand
osh47 Single array with :-

stdout:
['x', '']
stderr:
osh_.py47 Single array with :-

[osh_.py stdout] Expected "['x', '']\n", got "(cmd_value.Argv argv:[argv.py x ''] arg_spids:[6 17 19])\n"

stdout:
(cmd_value.Argv argv:[argv.py x ''] arg_spids:[6 17 19])
stderr:
Unhandled SimpleCommand
osh_.cc47 Single array with :-

[osh_.cc stdout] Expected "['x', '']\n", got "(cmd_value.Argv argv:[argv.py x ''] arg_spids:[6 17 19])\n"

stdout:
(cmd_value.Argv argv:[argv.py x ''] arg_spids:[6 17 19])
stderr:
Unhandled SimpleCommand
osh_.py48 Stripping a whole array unquoted

[osh_.py stdout] Expected "['foo', 'sp', 'ace.h', 'bar']\n", got '(cmd_value.Argv argv:[argv.py foo sp ace.h bar] arg_spids:[15 17 17 17 17])\n'

stdout:
(cmd_value.Argv argv:[argv.py foo sp ace.h bar] arg_spids:[15 17 17 17 17])
stderr:
Unhandled SimpleCommand
osh_.cc48 Stripping a whole array unquoted

[osh_.cc stdout] Expected "['foo', 'sp', 'ace.h', 'bar']\n", got '(cmd_value.Argv argv:[argv.py foo sp ace.h bar] arg_spids:[15 17 17 17 17])\n'

stdout:
(cmd_value.Argv argv:[argv.py foo sp ace.h bar] arg_spids:[15 17 17 17 17])
stderr:
Unhandled SimpleCommand
osh_.py49 Stripping a whole array quoted

[osh_.py stdout] Expected "['foo', 'sp ace.h', 'bar']\n", got "(cmd_value.Argv argv:[argv.py foo 'sp ace.h' bar] arg_spids:[15 17 17 17])\n"

stdout:
(cmd_value.Argv argv:[argv.py foo 'sp ace.h' bar] arg_spids:[15 17 17 17])
stderr:
Unhandled SimpleCommand
osh_.cc49 Stripping a whole array quoted

[osh_.cc stdout] Expected "['foo', 'sp ace.h', 'bar']\n", got "(cmd_value.Argv argv:[argv.py foo 'sp ace.h' bar] arg_spids:[15 17 17 17])\n"

stdout:
(cmd_value.Argv argv:[argv.py foo 'sp ace.h' bar] arg_spids:[15 17 17 17])
stderr:
Unhandled SimpleCommand
osh_.py53 Create a "user" array out of the argv array

[osh_.py stdout] Expected "['x y', 'z', 'a b', 'c']\n", got "(cmd_value.Argv argv:[argv.py 'x y' z 'a b' c] arg_spids:[30 32 32 41 41])\n"

stdout:
(cmd_value.Argv argv:[argv.py 'x y' z 'a b' c] arg_spids:[30 32 32 41 41])
stderr:
Unhandled SimpleCommand
osh_.cc53 Create a "user" array out of the argv array

[osh_.cc stdout] Expected "['x y', 'z', 'a b', 'c']\n", got "(cmd_value.Argv argv:[argv.py 'x y' z 'a b' c] arg_spids:[30 32 32 41 41])\n"

stdout:
(cmd_value.Argv argv:[argv.py 'x y' z 'a b' c] arg_spids:[30 32 32 41 41])
stderr:
Unhandled SimpleCommand
osh_.py56 array default

[osh_.py stdout] Expected "['1 2', '3']\n", got "(cmd_value.Argv argv:[argv.py '1 2' 3] arg_spids:[11 13 13])\n"

stdout:
(cmd_value.Argv argv:[argv.py '1 2' 3] arg_spids:[11 13 13])
stderr:
Unhandled SimpleCommand
osh_.cc56 array default

[osh_.cc stdout] Expected "['1 2', '3']\n", got "(cmd_value.Argv argv:[argv.py '1 2' 3] arg_spids:[11 13 13])\n"

stdout:
(cmd_value.Argv argv:[argv.py '1 2' 3] arg_spids:[11 13 13])
stderr:
Unhandled SimpleCommand
osh_.py58 declare -a / local -a is empty array

[osh_.py stdout] Expected "[]\n['x']\n[]\n['x']\n", got '(cmd_value.Argv argv:[argv.py] arg_spids:[6])\n(cmd_value.Argv argv:[argv.py x] arg_spids:[24 26])\n(cmd_value.Argv argv:[argv.py] arg_spids:[49])\n(cmd_value.Argv argv:[argv.py x] arg_spids:[69 71])\n'

stdout:
(cmd_value.Argv argv:[argv.py] arg_spids:[6])
(cmd_value.Argv argv:[argv.py x] arg_spids:[24 26])
(cmd_value.Argv argv:[argv.py] arg_spids:[49])
(cmd_value.Argv argv:[argv.py x] arg_spids:[69 71])
stderr:
Unhandled SimpleCommand
Unhandled SimpleCommand
Unhandled SimpleCommand
Unhandled SimpleCommand
osh_.cc58 declare -a / local -a is empty array

[osh_.cc stdout] Expected "[]\n['x']\n[]\n['x']\n", got '(cmd_value.Argv argv:[argv.py] arg_spids:[6])\n(cmd_value.Argv argv:[argv.py x] arg_spids:[24 26])\n(cmd_value.Argv argv:[argv.py] arg_spids:[49])\n(cmd_value.Argv argv:[argv.py x] arg_spids:[69 71])\n'

stdout:
(cmd_value.Argv argv:[argv.py] arg_spids:[6])
(cmd_value.Argv argv:[argv.py x] arg_spids:[24 26])
(cmd_value.Argv argv:[argv.py] arg_spids:[49])
(cmd_value.Argv argv:[argv.py x] arg_spids:[69 71])
stderr:
Unhandled SimpleCommand
Unhandled SimpleCommand
Unhandled SimpleCommand
Unhandled SimpleCommand
osh_.py59 Create sparse array

[osh_.py stdout] Expected "len=1\n['1']\nunset=\nlen-of-unset=0\n", got 'len=1\n(cmd_value.Argv argv:[argv.py 1] arg_spids:[30 32])\nunset=\nlen-of-unset=0\n'

stdout:
len=1
(cmd_value.Argv argv:[argv.py 1] arg_spids:[30 32])
unset=
len-of-unset=0
stderr:
Unhandled SimpleCommand
osh_.cc59 Create sparse array

[osh_.cc stdout] Expected "len=1\n['1']\nunset=\nlen-of-unset=0\n", got 'len=1\n(cmd_value.Argv argv:[argv.py 1] arg_spids:[30 32])\nunset=\nlen-of-unset=0\n'

stdout:
len=1
(cmd_value.Argv argv:[argv.py 1] arg_spids:[30 32])
unset=
len-of-unset=0
stderr:
Unhandled SimpleCommand
osh_.py60 Create sparse array implicitly

[osh_.py stdout] Expected "len=1\n['1']\nunset=\nlen-of-unset=0\n", got 'len=1\n(cmd_value.Argv argv:[argv.py 1] arg_spids:[23 25])\nunset=\nlen-of-unset=0\n'

stdout:
len=1
(cmd_value.Argv argv:[argv.py 1] arg_spids:[23 25])
unset=
len-of-unset=0
stderr:
Unhandled SimpleCommand
osh_.cc60 Create sparse array implicitly

[osh_.cc stdout] Expected "len=1\n['1']\nunset=\nlen-of-unset=0\n", got 'len=1\n(cmd_value.Argv argv:[argv.py 1] arg_spids:[23 25])\nunset=\nlen-of-unset=0\n'

stdout:
len=1
(cmd_value.Argv argv:[argv.py 1] arg_spids:[23 25])
unset=
len-of-unset=0
stderr:
Unhandled SimpleCommand
osh_.py61 Append sparse arrays

[osh_.py stdout] Expected "['1', '2', '3']\n['1', '2', '3']\n", got '(cmd_value.Argv argv:[argv.py 1 2 3] arg_spids:[58 60 60 60])\n(cmd_value.Argv argv:[argv.py 1 2 3] arg_spids:[69 71 80 89])\n'

stdout:
(cmd_value.Argv argv:[argv.py 1 2 3] arg_spids:[58 60 60 60])
(cmd_value.Argv argv:[argv.py 1 2 3] arg_spids:[69 71 80 89])
stderr:
Unhandled SimpleCommand
Unhandled SimpleCommand
osh_.cc61 Append sparse arrays

[osh_.cc stdout] Expected "['1', '2', '3']\n['1', '2', '3']\n", got '(cmd_value.Argv argv:[argv.py 1 2 3] arg_spids:[58 60 60 60])\n(cmd_value.Argv argv:[argv.py 1 2 3] arg_spids:[69 71 80 89])\n'

stdout:
(cmd_value.Argv argv:[argv.py 1 2 3] arg_spids:[58 60 60 60])
(cmd_value.Argv argv:[argv.py 1 2 3] arg_spids:[69 71 80 89])
stderr:
Unhandled SimpleCommand
Unhandled SimpleCommand
osh_.py62 Slice of sparse array with [@]

[osh_.py stdout] Expected "['1', '2']\n", got '(cmd_value.Argv argv:[argv.py 1 2] arg_spids:[36 38 38])\n'

stdout:
(cmd_value.Argv argv:[argv.py 1 2] arg_spids:[36 38 38])
stderr:
Unhandled SimpleCommand
osh_.cc62 Slice of sparse array with [@]

[osh_.cc stdout] Expected "['1', '2']\n", got '(cmd_value.Argv argv:[argv.py 1 2 2] arg_spids:[36 38 38 38])\n'

stdout:
(cmd_value.Argv argv:[argv.py 1 2 2] arg_spids:[36 38 38 38])
stderr:
Unhandled SimpleCommand