Results for var-op-slice.test.sh

statusoshosh_.pyosh_.cc
pass 19123
ok 111
FAIL 1817
total212121
caseoshosh_.pyosh_.ccdescription
0pass pass FAIL String slice
details
1ok ok ok Cannot take length of substring slice
detailsdetailsdetails
2pass pass FAIL Out of range string slice: begin
details
3pass pass FAIL Out of range string slice: length
details
4pass pass FAIL Negative start index
details
5pass pass FAIL Negative start index respects unicode
details
6pass pass FAIL Negative second arg is position, not length!
details
7pass pass FAIL Negative start index respects unicode
details
8pass pass FAIL String slice with math
details
9pass pass pass Slice undefined
10pass pass FAIL Slice UTF-8 String
details
11pass FAIL FAIL Slice string with invalid UTF-8 results in empty string and warning
detailsdetails
12pass FAIL FAIL Slice string with invalid UTF-8 with strict_word_eval
detailsdetails
13pass pass pass Slice with an index that's an array itself not allowed
14pass pass pass Slice with an assoc array
15pass FAIL FAIL Simple ${@:offset}
detailsdetails
16pass FAIL FAIL ${@:offset} and ${*:offset}
detailsdetails
17pass FAIL FAIL ${@:offset:length} and ${*:offset:length}
detailsdetails
18pass FAIL FAIL ${@:0:1}
detailsdetails
19pass FAIL FAIL ${array[@]::0}
detailsdetails
20FAIL FAIL FAIL ${array[@]::}
detailsdetailsdetails
34 passed, 3 OK, 0 not implemented, 0 BUG, 26 failed, 0 timeouts, 0 cases skipped
1 failed under osh

Details on runs that didn't PASS

osh_.cc0 String slice

[osh_.cc stdout] Expected 'bcd\n', got 'abcdefg\n'

stdout:
abcdefg
stderr:
osh1 Cannot take length of substring slice

stdout:
stderr: 
  echo ${#v:1:3}
           ^
[ stdin ]:2: Expected } after length expression
osh_.py1 Cannot take length of substring slice

stdout:
stderr: 
  echo ${#v:1:3}
           ^
[ stdin ]:2: Expected } after length expression
osh_.cc1 Cannot take length of substring slice

stdout:
stderr: 
  echo ${#v:1:3}
           ^
[ stdin ]:2: Expected } after length expression
osh_.cc2 Out of range string slice: begin

[osh_.cc stdout] Expected '_\n0\n', got '_abcdefg\n0\n'

stdout:
_abcdefg
0
stderr:
osh_.cc3 Out of range string slice: length

[osh_.cc stdout] Expected '_defg\n0\n', got '_abcdefg\n0\n'

stdout:
_abcdefg
0
stderr:
osh_.cc4 Negative start index

[osh_.cc stdout] Expected 'def\n', got 'abcdefg\n'

stdout:
abcdefg
stderr:
osh_.cc5 Negative start index respects unicode

[osh_.cc stdout] Expected 'd-\xce\xbc\n', got 'abcd-\xce\xbc-\n'

stdout:
abcd-μ-
stderr:
osh_.cc6 Negative second arg is position, not length!

[osh_.cc stdout] Expected 'def de d\n', got 'abcdefg abcdefg abcdefg\n'

stdout:
abcdefg abcdefg abcdefg
stderr:
osh_.cc7 Negative start index respects unicode

[osh_.cc stdout] Expected 'cd\n', got 'abcd-\xce\xbc-\n'

stdout:
abcd-μ-
stderr:
osh_.cc8 String slice with math

[osh_.cc stdout] Expected 'def\n', got 'abcdefg\n'

stdout:
abcdefg
stderr:
osh_.cc10 Slice UTF-8 String

[osh_.cc stdout] Expected '-\xce\xbc-\n', got '--\xce\xbc--\n'

stdout:
--μ--
stderr:
osh_.py11 Slice string with invalid UTF-8 results in empty string and warning

[osh_.py stdout] Expected '--\n', got '-cde-\n'
[osh_.py stderr] Expected '[??? no location ???] warning: Invalid start of UTF-8 character\n', got ''

stdout:
-cde-
stderr:
osh_.cc11 Slice string with invalid UTF-8 results in empty string and warning

[osh_.cc stdout] Expected '--\n', got '-bcdef-\n'
[osh_.cc stderr] Expected '[??? no location ???] warning: Invalid start of UTF-8 character\n', got ''

stdout:
-bcdef-
stderr:
osh_.py12 Slice string with invalid UTF-8 with strict_word_eval

[osh_.py stdout] Expected 'slice\n', got 'slice\n-cde-\n'
[osh_.py status] Expected 1, got 0

stdout:
slice
-cde-
stderr:
osh_.cc12 Slice string with invalid UTF-8 with strict_word_eval

[osh_.cc stdout] Expected 'slice\n', got 'slice\n-bcdef-\n'
[osh_.cc status] Expected 1, got 0

stdout:
slice
-bcdef-
stderr:
osh_.py15 Simple ${@:offset}

[osh_.py stdout] Expected "['SHELL', '4', '5', '6']\n['4', '5', '6']\n['5', '6']\n", got '\n(cmd_value.Argv argv:[argv.py 4 5 6] arg_spids:[36 38 38 38])\n(cmd_value.Argv argv:[argv.py 5 6] arg_spids:[44 46 46])\n'

stdout:
(cmd_value.Argv argv:[argv.py 4 5 6] arg_spids:[36 38 38 38])
(cmd_value.Argv argv:[argv.py 5 6] arg_spids:[44 46 46])
stderr:
Unhandled SimpleCommand
Unhandled SimpleCommand
osh_.cc15 Simple ${@:offset}

[osh_.cc stdout] Expected "['SHELL', '4', '5', '6']\n['4', '5', '6']\n['5', '6']\n", got '\n(cmd_value.Argv argv:[argv.py 4 5 6] arg_spids:[36 38 38 38])\n(cmd_value.Argv argv:[argv.py 4 5 6] arg_spids:[44 46 46 46])\n'

stdout:
(cmd_value.Argv argv:[argv.py 4 5 6] arg_spids:[36 38 38 38])
(cmd_value.Argv argv:[argv.py 4 5 6] arg_spids:[44 46 46 46])
stderr:
Unhandled SimpleCommand
Unhandled SimpleCommand
osh_.py16 ${@:offset} and ${*:offset}

[osh_.py stdout] Expected "['-SHELL', 'a', '1', 'b', '2', 'c', '3-']\n['-a', '1', 'b', '2', 'c', '3-']\n['-c', '3-']\n['--']\n['--']\n['-SHELL', 'a', '1', 'b', '2', 'c', '3-']\n['-a', '1', 'b', '2', 'c', '3-']\n['-c', '3-']\n['--']\n['--']\n['-SHELL a 1 b 2 c 3-']\n['-a 1 b 2 c 3-']\n['-c 3-']\n['--']\n['--']\n['-SHELL', 'a 1', 'b 2', 'c 3-']\n['-a 1', 'b 2', 'c 3-']\n['-c 3-']\n['--']\n['--']\n", got "(cmd_value.Argv argv:[argv.py -SHELL a 1 b 2 c 3-] arg_spids:[27 29 29 29 29 29 29 29])\n(cmd_value.Argv argv:[argv.py -a 1 b 2 c 3-] arg_spids:[27 29 29 29 29 29 29])\n(cmd_value.Argv argv:[argv.py -c 3-] arg_spids:[27 29 29])\n(cmd_value.Argv argv:[argv.py --] arg_spids:[27 29])\n(cmd_value.Argv argv:[argv.py --] arg_spids:[27 29])\n(cmd_value.Argv argv:[argv.py -SHELL a 1 b 2 c 3-] arg_spids:[27 29 29 29 29 29 29 29])\n(cmd_value.Argv argv:[argv.py -a 1 b 2 c 3-] arg_spids:[27 29 29 29 29 29 29])\n(cmd_value.Argv argv:[argv.py -c 3-] arg_spids:[27 29 29])\n(cmd_value.Argv argv:[argv.py --] arg_spids:[27 29])\n(cmd_value.Argv argv:[argv.py --] arg_spids:[27 29])\n(cmd_value.Argv argv:[argv.py '-SHELL a 1 b 2 c 3-'] arg_spids:[27 29])\n(cmd_value.Argv argv:[argv.py '-a 1 b 2 c 3-'] arg_spids:[27 29])\n(cmd_value.Argv argv:[argv.py '-c 3-'] arg_spids:[27 29])\n(cmd_value.Argv argv:[argv.py --] arg_spids:[27 29])\n(cmd_value.Argv argv:[argv.py --] arg_spids:[27 29])\n(cmd_value.Argv argv:[argv.py -SHELL 'a 1' 'b 2' 'c 3-'] arg_spids:[27 29 29 29 29])\n(cmd_value.Argv argv:[argv.py '-a 1' 'b 2' 'c 3-'] arg_spids:[27 29 29 29])\n(cmd_value.Argv argv:[argv.py '-c 3-'] arg_spids:[27 29])\n(cmd_value.Argv argv:[argv.py --] arg_spids:[27 29])\n(cmd_value.Argv argv:[argv.py --] arg_spids:[27 29])\n"

stdout:
(cmd_value.Argv argv:[argv.py -SHELL a 1 b 2 c 3-] arg_spids:[27 29 29 29 29 29 29 29])
(cmd_value.Argv argv:[argv.py -a 1 b 2 c 3-] arg_spids:[27 29 29 29 29 29 29])
(cmd_value.Argv argv:[argv.py -c 3-] arg_spids:[27 29 29])
(cmd_value.Argv argv:[argv.py --] arg_spids:[27 29])
(cmd_value.Argv argv:[argv.py --] arg_spids:[27 29])
(cmd_value.Argv argv:[argv.py -SHELL a 1 b 2 c 3-] arg_spids:[27 29 29 29 29 29 29 29])
(cmd_value.Argv argv:[argv.py -a 1 b 2 c 3-] arg_spids:[27 29 29 29 29 29 29])
(cmd_value.Argv argv:[argv.py -c 3-] arg_spids:[27 29 29])
(cmd_value.Argv argv:[argv.py --] arg_spids:[27 29])
(cmd_value.Argv argv:[argv.py --] arg_spids:[27 29])
(cmd_value.Argv argv:[argv.py '-SHELL a 1 b 2 c 3-'] arg_spids:[27 29])
(cmd_value.Argv argv:[argv.py '-a 1 b 2 c 3-'] arg_spids:[27 29])
(cmd_value.Argv argv:[argv.py '-c 3-'] arg_spids:[27 29])
(cmd_value.Argv argv:[argv.py --] arg_spids:[27 29])
(cmd_value.Argv argv:[argv.py --] arg_spids:[27 29])
(cmd_value.Argv argv:[argv.py -SHELL 'a 1' 'b 2' 'c 3-'] arg_spids:[27 29 29 29 29])
(cmd_value.Argv argv:[argv.py '-a 1' 'b 2' 'c 3-'] arg_spids:[27 29 29 29])
(cmd_value.Argv argv:[argv.py '-c 3-'] arg_spids:[27 29])
(cmd_value.Argv argv:[argv.py --] arg_spids:[27 29])
(cmd_value.Argv argv:[argv.py --] arg_spids:[27 29])
stderr:
Unhandled SimpleCommand
Unhandled SimpleCommand
Unhandled SimpleCommand
Unhandled SimpleCommand
Unhandled SimpleCommand
Unhandled SimpleCommand
Unhandled SimpleCommand
Unhandled SimpleCommand
Unhandled SimpleCommand
Unhandled SimpleCommand
Unhandled SimpleCommand
Unhandled SimpleCommand
Unhandled SimpleCommand
Unhandled SimpleCommand
Unhandled SimpleCommand
Unhandled SimpleCommand
Unhandled SimpleCommand
Unhandled SimpleCommand
Unhandled SimpleCommand
Unhandled SimpleCommand
osh_.cc16 ${@:offset} and ${*:offset}

[osh_.cc stdout] Expected "['-SHELL', 'a', '1', 'b', '2', 'c', '3-']\n['-a', '1', 'b', '2', 'c', '3-']\n['-c', '3-']\n['--']\n['--']\n['-SHELL', 'a', '1', 'b', '2', 'c', '3-']\n['-a', '1', 'b', '2', 'c', '3-']\n['-c', '3-']\n['--']\n['--']\n['-SHELL a 1 b 2 c 3-']\n['-a 1 b 2 c 3-']\n['-c 3-']\n['--']\n['--']\n['-SHELL', 'a 1', 'b 2', 'c 3-']\n['-a 1', 'b 2', 'c 3-']\n['-c 3-']\n['--']\n['--']\n", got "(cmd_value.Argv argv:[argv.py -a 1 b 2 c 3-] arg_spids:[27 29 29 29 29 29 29])\n(cmd_value.Argv argv:[argv.py --a 1 b 2 c 3--] arg_spids:[27 29 29 29 29 29 29])\n(cmd_value.Argv argv:[argv.py ---a 1 b 2 c 3---] arg_spids:[27 29 29 29 29 29 29])\n(cmd_value.Argv argv:[argv.py ----a 1 b 2 c 3----] arg_spids:[27 29 29 29 29 29 29])\n(cmd_value.Argv argv:[argv.py -----a 1 b 2 c 3-----] arg_spids:[27 29 29 29 29 29 29])\n(cmd_value.Argv argv:[argv.py ------a 1 b 2 c 3------] arg_spids:[27 29 29 29 29 29 29])\n(cmd_value.Argv argv:[argv.py -------a 1 b 2 c 3-------] arg_spids:[27 29 29 29 29 29 29])\n(cmd_value.Argv argv:[argv.py --------a 1 b 2 c 3--------] arg_spids:[27 29 29 29 29 29 29])\n(cmd_value.Argv argv:[argv.py ---------a 1 b 2 c 3---------] arg_spids:[27 29 29 29 29 29 29])\n(cmd_value.Argv argv:[argv.py ----------a 1 b 2 c 3----------] arg_spids:[27 29 29 29 29 29 29])\n(cmd_value.Argv argv:[argv.py '-----------a 1 b 2 c 3-----------'] arg_spids:[27 29])\n(cmd_value.Argv argv:[argv.py '------------a 1 b 2 c 3------------'] arg_spids:[27 29])\n(cmd_value.Argv argv:[argv.py '-------------a 1 b 2 c 3-------------'] arg_spids:[27 29])\n(cmd_value.Argv argv:[argv.py '--------------a 1 b 2 c 3--------------'] arg_spids:[27 29])\n(cmd_value.Argv argv:[argv.py '---------------a 1 b 2 c 3---------------'] arg_spids:[27 29])\n(cmd_value.Argv argv:[argv.py '----------------a 1 b 2 c 3----------------'] arg_spids:[27 29])\n(cmd_value.Argv argv:[argv.py '-----------------a 1 b 2 c 3-----------------'] arg_spids:[27 29])\n(cmd_value.Argv argv:[argv.py '------------------a 1 b 2 c 3------------------'] arg_spids:[27 29])\n(cmd_value.Argv argv:[argv.py '-------------------a 1 b 2 c 3-------------------'] arg_spids:[27 29])\n(cmd_value.Argv\n argv: [argv.py '--------------------a 1 b 2 c 3--------------------']\n arg_spids: [27 29]\n)\n"

stdout:
(cmd_value.Argv argv:[argv.py -a 1 b 2 c 3-] arg_spids:[27 29 29 29 29 29 29])
(cmd_value.Argv argv:[argv.py --a 1 b 2 c 3--] arg_spids:[27 29 29 29 29 29 29])
(cmd_value.Argv argv:[argv.py ---a 1 b 2 c 3---] arg_spids:[27 29 29 29 29 29 29])
(cmd_value.Argv argv:[argv.py ----a 1 b 2 c 3----] arg_spids:[27 29 29 29 29 29 29])
(cmd_value.Argv argv:[argv.py -----a 1 b 2 c 3-----] arg_spids:[27 29 29 29 29 29 29])
(cmd_value.Argv argv:[argv.py ------a 1 b 2 c 3------] arg_spids:[27 29 29 29 29 29 29])
(cmd_value.Argv argv:[argv.py -------a 1 b 2 c 3-------] arg_spids:[27 29 29 29 29 29 29])
(cmd_value.Argv argv:[argv.py --------a 1 b 2 c 3--------] arg_spids:[27 29 29 29 29 29 29])
(cmd_value.Argv argv:[argv.py ---------a 1 b 2 c 3---------] arg_spids:[27 29 29 29 29 29 29])
(cmd_value.Argv argv:[argv.py ----------a 1 b 2 c 3----------] arg_spids:[27 29 29 29 29 29 29])
(cmd_value.Argv argv:[argv.py '-----------a 1 b 2 c 3-----------'] arg_spids:[27 29])
(cmd_value.Argv argv:[argv.py '------------a 1 b 2 c 3------------'] arg_spids:[27 29])
(cmd_value.Argv argv:[argv.py '-------------a 1 b 2 c 3-------------'] arg_spids:[27 29])
(cmd_value.Argv argv:[argv.py '--------------a 1 b 2 c 3--------------'] arg_spids:[27 29])
(cmd_value.Argv argv:[argv.py '---------------a 1 b 2 c 3---------------'] arg_spids:[27 29])
(cmd_value.Argv argv:[argv.py '----------------a 1 b 2 c 3----------------'] arg_spids:[27 29])
(cmd_value.Argv argv:[argv.py '-----------------a 1 b 2 c 3-----------------'] arg_spids:[27 29])
(cmd_value.Argv argv:[argv.py '------------------a 1 b 2 c 3------------------'] arg_spids:[27 29])
(cmd_value.Argv argv:[argv.py '-------------------a 1 b 2 c 3-------------------'] arg_spids:[27 29])
(cmd_value.Argv
  argv: [argv.py '--------------------a 1 b 2 c 3--------------------']
  arg_spids: [27 29]
)
stderr:
Unhandled SimpleCommand
Unhandled SimpleCommand
Unhandled SimpleCommand
Unhandled SimpleCommand
Unhandled SimpleCommand
Unhandled SimpleCommand
Unhandled SimpleCommand
Unhandled SimpleCommand
Unhandled SimpleCommand
Unhandled SimpleCommand
Unhandled SimpleCommand
Unhandled SimpleCommand
Unhandled SimpleCommand
Unhandled SimpleCommand
Unhandled SimpleCommand
Unhandled SimpleCommand
Unhandled SimpleCommand
Unhandled SimpleCommand
Unhandled SimpleCommand
Unhandled SimpleCommand
osh_.py17 ${@:offset:length} and ${*:offset:length}

[osh_.py stdout] Expected "['-SHELL', 'a', '1-']\n['-a', '1', 'b', '2-']\n['-c', '3-']\n['--']\n['--']\n['-SHELL', 'a', '1-']\n['-a', '1', 'b', '2-']\n['-c', '3-']\n['--']\n['--']\n['-SHELL a 1-']\n['-a 1 b 2-']\n['-c 3-']\n['--']\n['--']\n['-SHELL', 'a 1-']\n['-a 1', 'b 2-']\n['-c 3-']\n['--']\n['--']\n", got "(cmd_value.Argv argv:[argv.py -SHELL a 1-] arg_spids:[27 29 29 29])\n(cmd_value.Argv argv:[argv.py -a 1 b 2-] arg_spids:[27 29 29 29 29])\n(cmd_value.Argv argv:[argv.py -c 3-] arg_spids:[27 29 29])\n(cmd_value.Argv argv:[argv.py --] arg_spids:[27 29])\n(cmd_value.Argv argv:[argv.py --] arg_spids:[27 29])\n(cmd_value.Argv argv:[argv.py -SHELL a 1-] arg_spids:[27 29 29 29])\n(cmd_value.Argv argv:[argv.py -a 1 b 2-] arg_spids:[27 29 29 29 29])\n(cmd_value.Argv argv:[argv.py -c 3-] arg_spids:[27 29 29])\n(cmd_value.Argv argv:[argv.py --] arg_spids:[27 29])\n(cmd_value.Argv argv:[argv.py --] arg_spids:[27 29])\n(cmd_value.Argv argv:[argv.py '-SHELL a 1-'] arg_spids:[27 29])\n(cmd_value.Argv argv:[argv.py '-a 1 b 2-'] arg_spids:[27 29])\n(cmd_value.Argv argv:[argv.py '-c 3-'] arg_spids:[27 29])\n(cmd_value.Argv argv:[argv.py --] arg_spids:[27 29])\n(cmd_value.Argv argv:[argv.py --] arg_spids:[27 29])\n(cmd_value.Argv argv:[argv.py -SHELL 'a 1-'] arg_spids:[27 29 29])\n(cmd_value.Argv argv:[argv.py '-a 1' 'b 2-'] arg_spids:[27 29 29])\n(cmd_value.Argv argv:[argv.py '-c 3-'] arg_spids:[27 29])\n(cmd_value.Argv argv:[argv.py --] arg_spids:[27 29])\n(cmd_value.Argv argv:[argv.py --] arg_spids:[27 29])\n"

stdout:
(cmd_value.Argv argv:[argv.py -SHELL a 1-] arg_spids:[27 29 29 29])
(cmd_value.Argv argv:[argv.py -a 1 b 2-] arg_spids:[27 29 29 29 29])
(cmd_value.Argv argv:[argv.py -c 3-] arg_spids:[27 29 29])
(cmd_value.Argv argv:[argv.py --] arg_spids:[27 29])
(cmd_value.Argv argv:[argv.py --] arg_spids:[27 29])
(cmd_value.Argv argv:[argv.py -SHELL a 1-] arg_spids:[27 29 29 29])
(cmd_value.Argv argv:[argv.py -a 1 b 2-] arg_spids:[27 29 29 29 29])
(cmd_value.Argv argv:[argv.py -c 3-] arg_spids:[27 29 29])
(cmd_value.Argv argv:[argv.py --] arg_spids:[27 29])
(cmd_value.Argv argv:[argv.py --] arg_spids:[27 29])
(cmd_value.Argv argv:[argv.py '-SHELL a 1-'] arg_spids:[27 29])
(cmd_value.Argv argv:[argv.py '-a 1 b 2-'] arg_spids:[27 29])
(cmd_value.Argv argv:[argv.py '-c 3-'] arg_spids:[27 29])
(cmd_value.Argv argv:[argv.py --] arg_spids:[27 29])
(cmd_value.Argv argv:[argv.py --] arg_spids:[27 29])
(cmd_value.Argv argv:[argv.py -SHELL 'a 1-'] arg_spids:[27 29 29])
(cmd_value.Argv argv:[argv.py '-a 1' 'b 2-'] arg_spids:[27 29 29])
(cmd_value.Argv argv:[argv.py '-c 3-'] arg_spids:[27 29])
(cmd_value.Argv argv:[argv.py --] arg_spids:[27 29])
(cmd_value.Argv argv:[argv.py --] arg_spids:[27 29])
stderr:
Unhandled SimpleCommand
Unhandled SimpleCommand
Unhandled SimpleCommand
Unhandled SimpleCommand
Unhandled SimpleCommand
Unhandled SimpleCommand
Unhandled SimpleCommand
Unhandled SimpleCommand
Unhandled SimpleCommand
Unhandled SimpleCommand
Unhandled SimpleCommand
Unhandled SimpleCommand
Unhandled SimpleCommand
Unhandled SimpleCommand
Unhandled SimpleCommand
Unhandled SimpleCommand
Unhandled SimpleCommand
Unhandled SimpleCommand
Unhandled SimpleCommand
Unhandled SimpleCommand
osh_.cc17 ${@:offset:length} and ${*:offset:length}

[osh_.cc stdout] Expected "['-SHELL', 'a', '1-']\n['-a', '1', 'b', '2-']\n['-c', '3-']\n['--']\n['--']\n['-SHELL', 'a', '1-']\n['-a', '1', 'b', '2-']\n['-c', '3-']\n['--']\n['--']\n['-SHELL a 1-']\n['-a 1 b 2-']\n['-c 3-']\n['--']\n['--']\n['-SHELL', 'a 1-']\n['-a 1', 'b 2-']\n['-c 3-']\n['--']\n['--']\n", got "(cmd_value.Argv argv:[argv.py -a 1 b 2 c 3-] arg_spids:[27 29 29 29 29 29 29])\n(cmd_value.Argv argv:[argv.py --a 1 b 2 c 3--] arg_spids:[27 29 29 29 29 29 29])\n(cmd_value.Argv argv:[argv.py ---a 1 b 2 c 3---] arg_spids:[27 29 29 29 29 29 29])\n(cmd_value.Argv argv:[argv.py ----a 1 b 2 c 3----] arg_spids:[27 29 29 29 29 29 29])\n(cmd_value.Argv argv:[argv.py -----a 1 b 2 c 3-----] arg_spids:[27 29 29 29 29 29 29])\n(cmd_value.Argv argv:[argv.py ------a 1 b 2 c 3------] arg_spids:[27 29 29 29 29 29 29])\n(cmd_value.Argv argv:[argv.py -------a 1 b 2 c 3-------] arg_spids:[27 29 29 29 29 29 29])\n(cmd_value.Argv argv:[argv.py --------a 1 b 2 c 3--------] arg_spids:[27 29 29 29 29 29 29])\n(cmd_value.Argv argv:[argv.py ---------a 1 b 2 c 3---------] arg_spids:[27 29 29 29 29 29 29])\n(cmd_value.Argv argv:[argv.py ----------a 1 b 2 c 3----------] arg_spids:[27 29 29 29 29 29 29])\n(cmd_value.Argv argv:[argv.py '-----------a 1 b 2 c 3-----------'] arg_spids:[27 29])\n(cmd_value.Argv argv:[argv.py '------------a 1 b 2 c 3------------'] arg_spids:[27 29])\n(cmd_value.Argv argv:[argv.py '-------------a 1 b 2 c 3-------------'] arg_spids:[27 29])\n(cmd_value.Argv argv:[argv.py '--------------a 1 b 2 c 3--------------'] arg_spids:[27 29])\n(cmd_value.Argv argv:[argv.py '---------------a 1 b 2 c 3---------------'] arg_spids:[27 29])\n(cmd_value.Argv argv:[argv.py '----------------a 1 b 2 c 3----------------'] arg_spids:[27 29])\n(cmd_value.Argv argv:[argv.py '-----------------a 1 b 2 c 3-----------------'] arg_spids:[27 29])\n(cmd_value.Argv argv:[argv.py '------------------a 1 b 2 c 3------------------'] arg_spids:[27 29])\n(cmd_value.Argv argv:[argv.py '-------------------a 1 b 2 c 3-------------------'] arg_spids:[27 29])\n(cmd_value.Argv\n argv: [argv.py '--------------------a 1 b 2 c 3--------------------']\n arg_spids: [27 29]\n)\n"

stdout:
(cmd_value.Argv argv:[argv.py -a 1 b 2 c 3-] arg_spids:[27 29 29 29 29 29 29])
(cmd_value.Argv argv:[argv.py --a 1 b 2 c 3--] arg_spids:[27 29 29 29 29 29 29])
(cmd_value.Argv argv:[argv.py ---a 1 b 2 c 3---] arg_spids:[27 29 29 29 29 29 29])
(cmd_value.Argv argv:[argv.py ----a 1 b 2 c 3----] arg_spids:[27 29 29 29 29 29 29])
(cmd_value.Argv argv:[argv.py -----a 1 b 2 c 3-----] arg_spids:[27 29 29 29 29 29 29])
(cmd_value.Argv argv:[argv.py ------a 1 b 2 c 3------] arg_spids:[27 29 29 29 29 29 29])
(cmd_value.Argv argv:[argv.py -------a 1 b 2 c 3-------] arg_spids:[27 29 29 29 29 29 29])
(cmd_value.Argv argv:[argv.py --------a 1 b 2 c 3--------] arg_spids:[27 29 29 29 29 29 29])
(cmd_value.Argv argv:[argv.py ---------a 1 b 2 c 3---------] arg_spids:[27 29 29 29 29 29 29])
(cmd_value.Argv argv:[argv.py ----------a 1 b 2 c 3----------] arg_spids:[27 29 29 29 29 29 29])
(cmd_value.Argv argv:[argv.py '-----------a 1 b 2 c 3-----------'] arg_spids:[27 29])
(cmd_value.Argv argv:[argv.py '------------a 1 b 2 c 3------------'] arg_spids:[27 29])
(cmd_value.Argv argv:[argv.py '-------------a 1 b 2 c 3-------------'] arg_spids:[27 29])
(cmd_value.Argv argv:[argv.py '--------------a 1 b 2 c 3--------------'] arg_spids:[27 29])
(cmd_value.Argv argv:[argv.py '---------------a 1 b 2 c 3---------------'] arg_spids:[27 29])
(cmd_value.Argv argv:[argv.py '----------------a 1 b 2 c 3----------------'] arg_spids:[27 29])
(cmd_value.Argv argv:[argv.py '-----------------a 1 b 2 c 3-----------------'] arg_spids:[27 29])
(cmd_value.Argv argv:[argv.py '------------------a 1 b 2 c 3------------------'] arg_spids:[27 29])
(cmd_value.Argv argv:[argv.py '-------------------a 1 b 2 c 3-------------------'] arg_spids:[27 29])
(cmd_value.Argv
  argv: [argv.py '--------------------a 1 b 2 c 3--------------------']
  arg_spids: [27 29]
)
stderr:
Unhandled SimpleCommand
Unhandled SimpleCommand
Unhandled SimpleCommand
Unhandled SimpleCommand
Unhandled SimpleCommand
Unhandled SimpleCommand
Unhandled SimpleCommand
Unhandled SimpleCommand
Unhandled SimpleCommand
Unhandled SimpleCommand
Unhandled SimpleCommand
Unhandled SimpleCommand
Unhandled SimpleCommand
Unhandled SimpleCommand
Unhandled SimpleCommand
Unhandled SimpleCommand
Unhandled SimpleCommand
Unhandled SimpleCommand
Unhandled SimpleCommand
Unhandled SimpleCommand
osh_.py18 ${@:0:1}

[osh_.py stdout] Expected 'SHELL\n', got '\n'

stdout:
stderr: 
osh_.cc18 ${@:0:1}

[osh_.cc stdout] Expected 'SHELL\n', got '\n'

stdout:
stderr: 
osh_.py19 ${array[@]::0}

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

stdout:
(cmd_value.Argv argv:[argv.py] arg_spids:[9])
stderr:
Unhandled SimpleCommand
osh_.cc19 ${array[@]::0}

[osh_.cc stdout] Expected '[]\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
osh20 ${array[@]::}

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

stdout:
stderr: 
  argv.py ${array[@]::}
                      ^
[ stdin ]:2: Token can't be used in prefix position
osh_.py20 ${array[@]::}

[osh_.py stdout] Expected '[]\n', got ''
[osh_.py status] Expected 0, got 2

stdout:
stderr: 
  argv.py ${array[@]::}
                      ^
[ stdin ]:2: Token can't be used in prefix position
osh_.cc20 ${array[@]::}

[osh_.cc stdout] Expected '[]\n', got ''
[osh_.cc status] Expected 0, got 2

stdout:
stderr: 
  argv.py ${array[@]::}
                      ^
[ stdin ]:2: Token can't be used in prefix position