Results for array.test.sh

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

Details on runs that didn't PASS

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_.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_.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_.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_.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_.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_.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 ''
[osh_.py status] Expected 0, got 1
[osh_.py stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/osh_eval.py", line 417, in <module>
    status = main(sys.argv)
  File "/home/andy/git/oilshell/oil/bin/osh_eval.py", line 309, in main
    cmd_flags=cmd_eval.IsMainProgram)
  File "/home/andy/git/oilshell/oil/core/main_loop.py", line 168, in Batch
    is_return, is_fatal = cmd_ev.ExecuteAndCatch(node, cmd_flags=cmd_flags)
  File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 1461, in ExecuteAndCatch
    status = self._Execute(node)
  File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 1341, in _Execute
    status, check_errexit = self._Dispatch(node)
  File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 837, in _Dispatch
    val = self.word_ev.EvalRhsWord(pair.rhs)
  File "/home/andy/git/oilshell/oil/osh/word_eval.py", line 1585, in EvalRhsWord
    strs = self.EvalWordSequence(words)
  File "/home/andy/git/oilshell/oil/osh/word_eval.py", line 1922, in EvalWordSequence
    UP_cmd_val = self.EvalWordSequence2(words)
  File "/home/andy/git/oilshell/oil/osh/word_eval.py", line 1868, in EvalWordSequence2
    self._EvalWordToParts(w, False, part_vals)  # not double quoted
  File "/home/andy/git/oilshell/oil/osh/word_eval.py", line 1455, in _EvalWordToParts
    self._EvalWordPart(p, part_vals, quoted=quoted, is_subst=is_subst)
  File "/home/andy/git/oilshell/oil/osh/word_eval.py", line 1332, in _EvalWordPart
    sv = self._EvalCommandSub(part.child, quoted) # type: part_value_t
  File "/home/andy/git/oilshell/oil/osh/word_eval.py", line 1959, in _EvalCommandSub
    stdout = self.shell_ex.RunCommandSub(node)
AttributeError: 'NoneType' object has no attribute 'RunCommandSub'
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_.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_.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_.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_.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_.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_.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_.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 ''
[osh_.py status] Expected 0, got 1
[osh_.py stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/osh_eval.py", line 417, in <module>
    status = main(sys.argv)
  File "/home/andy/git/oilshell/oil/bin/osh_eval.py", line 309, in main
    cmd_flags=cmd_eval.IsMainProgram)
  File "/home/andy/git/oilshell/oil/core/main_loop.py", line 168, in Batch
    is_return, is_fatal = cmd_ev.ExecuteAndCatch(node, cmd_flags=cmd_flags)
  File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 1461, in ExecuteAndCatch
    status = self._Execute(node)
  File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 1341, in _Execute
    status, check_errexit = self._Dispatch(node)
  File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 547, in _Dispatch
    cmd_val = self.word_ev.EvalWordSequence2(words, allow_assign=True)
  File "/home/andy/git/oilshell/oil/osh/word_eval.py", line 1868, in EvalWordSequence2
    self._EvalWordToParts(w, False, part_vals)  # not double quoted
  File "/home/andy/git/oilshell/oil/osh/word_eval.py", line 1455, in _EvalWordToParts
    self._EvalWordPart(p, part_vals, quoted=quoted, is_subst=is_subst)
  File "/home/andy/git/oilshell/oil/osh/word_eval.py", line 1326, in _EvalWordPart
    self._EvalDoubleQuoted(part.parts, part_vals)
  File "/home/andy/git/oilshell/oil/osh/word_eval.py", line 821, in _EvalDoubleQuoted
    self._EvalWordPart(p, part_vals, quoted=True)
  File "/home/andy/git/oilshell/oil/osh/word_eval.py", line 1348, in _EvalWordPart
    self._EvalBracedVarSub(part, part_vals, quoted)
  File "/home/andy/git/oilshell/oil/osh/word_eval.py", line 976, in _EvalBracedVarSub
    index = self.arith_ev.EvalToInt(anode)
  File "/home/andy/git/oilshell/oil/osh/sh_expr_eval.py", line 367, in EvalToInt
    val = self.Eval(node)
  File "/home/andy/git/oilshell/oil/osh/sh_expr_eval.py", line 408, in Eval
    return self.word_ev.EvalWordToString(w)
  File "/home/andy/git/oilshell/oil/osh/word_eval.py", line 1498, in EvalWordToString
    self._EvalWordPart(p, part_vals, quoted=False)
  File "/home/andy/git/oilshell/oil/osh/word_eval.py", line 1332, in _EvalWordPart
    sv = self._EvalCommandSub(part.child, quoted) # type: part_value_t
  File "/home/andy/git/oilshell/oil/osh/word_eval.py", line 1959, in _EvalCommandSub
    stdout = self.shell_ex.RunCommandSub(node)
AttributeError: 'NoneType' object has no attribute 'RunCommandSub'
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_.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_.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_.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_.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_.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_.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_.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_.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_.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_.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_.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_.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_.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_.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_.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_.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 :-

stdout:
['x', '']
stderr:
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_.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_.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_.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] arg_spids:[30 32 32])\n"

stdout:
(cmd_value.Argv argv:[argv.py 'x y' z] arg_spids:[30 32 32])
stderr:
set 4
Unhandled SimpleCommand
osh_.cc54 Tilde expansion within array

[osh_.cc stdout] Expected '/home/bob/src /home/bob/git\n', got ''
[osh_.cc status] Expected 0, got -6

stdout:
stderr: 
osh_eval.dbg: cpp/core_passwd.h:16: Str *passwd::GetHomeDir(syntax_asdl::Token *): Assertion `0' failed.
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_.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 "['1']\nlen=1\nunset=\nlen-of-unset=0\n"

stdout:
['1']
len=1
unset=
len-of-unset=0
stderr:
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 "['1']\nlen=1\nunset=\nlen-of-unset=0\n"

stdout:
['1']
len=1
unset=
len-of-unset=0
stderr:
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_.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_.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