spec test index / oilshell.org
113 passed, 1 OK, 0 not implemented, 0 BUG, 84 failed, 0 timeouts, 0 cases skipped
osh_.py | 1 "${a[@]}" and "${a[*]}" [osh_.py stdout] Expected "['1', '2 3', '1 2 3']\n", got '' [osh_.py status] Expected 0, got 127 stdout: stderr: argv.py "${a[@]}" "${a[*]}" ^~~~~~~ [ stdin ]:2: 'argv.py' not found |
osh_.cc | 1 "${a[@]}" and "${a[*]}" [osh_.cc stdout] Expected "['1', '2 3', '1 2 3']\n", got '' [osh_.cc status] Expected 0, got 127 stdout: stderr: argv.py "${a[@]}" "${a[*]}" ^~~~~~~ [ stdin ]:2: 'argv.py' not found |
osh_.py | 2 ${a[@]} and ${a[*]} [osh_.py stdout] Expected "['1', '2', '3', '1', '2', '3']\n", got '' [osh_.py status] Expected 0, got 127 stdout: stderr: argv.py ${a[@]} ${a[*]} ^~~~~~~ [ stdin ]:2: 'argv.py' not found |
osh_.cc | 2 ${a[@]} and ${a[*]} [osh_.cc stdout] Expected "['1', '2', '3', '1', '2', '3']\n", got '' [osh_.cc status] Expected 0, got 127 stdout: stderr: argv.py ${a[@]} ${a[*]} ^~~~~~~ [ stdin ]:2: 'argv.py' not found |
osh_.py | 3 4 ways to interpolate empty array [osh_.py stdout] Expected "['1', '2', '3', '', '4', '5']\n", got '' [osh_.py status] Expected 0, got 127 stdout: stderr: argv.py 1 "${a[@]}" 2 ${a[@]} 3 "${a[*]}" 4 ${a[*]} 5 ^~~~~~~ [ stdin ]:1: 'argv.py' not found |
osh_.cc | 3 4 ways to interpolate empty array [osh_.cc stdout] Expected "['1', '2', '3', '', '4', '5']\n", got '' [osh_.cc status] Expected 0, got 127 stdout: stderr: argv.py 1 "${a[@]}" 2 ${a[@]} 3 "${a[*]}" 4 ${a[*]} 5 ^~~~~~~ [ stdin ]:1: 'argv.py' not found |
osh_.py | 4 empty array [osh_.py stdout] Expected '[]\n', got '' [osh_.py status] Expected 0, got 127 stdout: stderr: argv.py "${empty[@]}" ^~~~~~~ [ stdin ]:2: 'argv.py' not found |
osh_.cc | 4 empty array [osh_.cc stdout] Expected '[]\n', got '' [osh_.cc status] Expected 0, got 127 stdout: stderr: argv.py "${empty[@]}" ^~~~~~~ [ stdin ]:2: 'argv.py' not found |
osh_.py | 5 Empty array with :- [osh_.py stdout] Expected "['not', 'one', 'not one']\n", got '' [osh_.py status] Expected 0, got 127 stdout: stderr: argv.py ${empty[@]:-not one} "${empty[@]:-not one}" ^~~~~~~ [ stdin ]:2: 'argv.py' not found |
osh_.cc | 5 Empty array with :- [osh_.cc stdout] Expected "['not', 'one', 'not one']\n", got '' [osh_.cc status] Expected 0, got 127 stdout: stderr: argv.py ${empty[@]:-not one} "${empty[@]:-not one}" ^~~~~~~ [ stdin ]:2: 'argv.py' not found |
osh_.py | 6 nounset with empty array (design bug, makes it hard to use arrays) [osh_.py stdout] Expected '[]\nstatus=0\n', got 'status=127\n' stdout: status=127stderr: argv.py "${empty[@]}" ^~~~~~~ [ stdin ]:3: 'argv.py' not found |
osh_.cc | 6 nounset with empty array (design bug, makes it hard to use arrays) [osh_.cc stdout] Expected '[]\nstatus=0\n', got 'status=127\n' stdout: status=127stderr: argv.py "${empty[@]}" ^~~~~~~ [ stdin ]:3: 'argv.py' not found |
osh_.py | 7 local array [osh_.py stdout] Expected "['1']\n", got '' [osh_.py status] Expected 0, got 127 stdout: stderr: argv.py "${a[0]}" ^~~~~~~ [ stdin ]:3: 'argv.py' not found |
osh_.cc | 7 local array [osh_.cc stdout] Expected "['1']\n", got '' [osh_.cc status] Expected 0, got 127 stdout: stderr: argv.py "${a[0]}" ^~~~~~~ [ stdin ]:3: 'argv.py' not found |
osh_.py | 8 Command with with word splitting in array [osh_.py stdout] Expected "['1 2', '3', '4']\n", got '' [osh_.py status] Expected 0, got 127 stdout: stderr: argv.py "${array[@]}" ^~~~~~~ [ stdin ]:2: 'argv.py' not found |
osh_.cc | 8 Command with with word splitting in array [osh_.cc stdout] Expected "['1 2', '3', '4']\n", got '' [osh_.cc status] Expected 0, got -6 stdout: stderr: osh_eval.dbg: cpp/posix.h:106: Tuple2<int, int> posix::pipe(): Assertion `0' failed. |
osh_.py | 10 array over multiple lines [osh_.py stdout] Expected "['1', '2 3']\n", got '' [osh_.py status] Expected 0, got 127 stdout: stderr: argv.py "${a[@]}" ^~~~~~~ [ stdin ]:5: 'argv.py' not found |
osh_.cc | 10 array over multiple lines [osh_.cc stdout] Expected "['1', '2 3']\n", got '' [osh_.cc status] Expected 0, got 127 stdout: stderr: argv.py "${a[@]}" ^~~~~~~ [ stdin ]:5: 'argv.py' not found |
osh_.py | 12 array with empty string [osh_.py stdout] Expected "['']\n", got '' [osh_.py status] Expected 0, got 127 stdout: stderr: argv.py "${empty[@]}" ^~~~~~~ [ stdin ]:2: 'argv.py' not found |
osh_.cc | 12 array with empty string [osh_.cc stdout] Expected "['']\n", got '' [osh_.cc status] Expected 0, got 127 stdout: stderr: argv.py "${empty[@]}" ^~~~~~~ [ stdin ]:2: 'argv.py' not found |
osh_.py | 13 Retrieve index [osh_.py stdout] Expected "['2 3']\n", got '' [osh_.py status] Expected 0, got 127 stdout: stderr: argv.py "${a[1]}" ^~~~~~~ [ stdin ]:2: 'argv.py' not found |
osh_.cc | 13 Retrieve index [osh_.cc stdout] Expected "['2 3']\n", got '' [osh_.cc status] Expected 0, got 127 stdout: stderr: argv.py "${a[1]}" ^~~~~~~ [ stdin ]:2: 'argv.py' not found |
osh_.py | 14 Retrieve out of bounds index [osh_.py stdout] Expected "['']\n", got '' [osh_.py status] Expected 0, got 127 stdout: stderr: argv.py "${a[3]}" ^~~~~~~ [ stdin ]:2: 'argv.py' not found |
osh_.cc | 14 Retrieve out of bounds index [osh_.cc stdout] Expected "['']\n", got '' [osh_.cc status] Expected 0, got 127 stdout: stderr: argv.py "${a[3]}" ^~~~~~~ [ stdin ]:2: 'argv.py' not found |
osh_.py | 15 Negative index [osh_.py stdout] Expected "['2 3', '1', '']\n", got '' [osh_.py status] Expected 0, got 127 stdout: stderr: argv.py "${a[-1]}" "${a[-2]}" "${a[-5]}" # last one out of bounds ^~~~~~~ [ stdin ]:2: 'argv.py' not found |
osh_.cc | 15 Negative index [osh_.cc stdout] Expected "['2 3', '1', '']\n", got '' [osh_.cc status] Expected 0, got 127 stdout: stderr: argv.py "${a[-1]}" "${a[-2]}" "${a[-5]}" # last one out of bounds ^~~~~~~ [ stdin ]:2: 'argv.py' not found |
osh_.py | 19 Retrieve index that is a variable [osh_.py stdout] Expected "['2 3']\n", got '' [osh_.py status] Expected 0, got 127 stdout: stderr: argv.py "${a[$i]}" ^~~~~~~ [ stdin ]:3: 'argv.py' not found |
osh_.cc | 19 Retrieve index that is a variable [osh_.cc stdout] Expected "['2 3']\n", got '' [osh_.cc status] Expected 0, got 127 stdout: stderr: argv.py "${a[$i]}" ^~~~~~~ [ stdin ]:3: 'argv.py' not found |
osh_.py | 20 Retrieve index that is a variable without $ [osh_.py stdout] Expected "['2 3']\n", got '' [osh_.py status] Expected 0, got 127 stdout: stderr: argv.py "${a[i-4]}" ^~~~~~~ [ stdin ]:3: 'argv.py' not found |
osh_.cc | 20 Retrieve index that is a variable without $ [osh_.cc stdout] Expected "['2 3']\n", got '' [osh_.cc status] Expected 0, got 127 stdout: stderr: argv.py "${a[i-4]}" ^~~~~~~ [ stdin ]:3: 'argv.py' not found |
osh_.py | 21 Retrieve index that is a command sub [osh_.py stdout] Expected "['2 3']\n", got '' [osh_.py status] Expected 0, got 127 stdout: stderr: argv.py "${a[$(echo 1)]}" ^~~~~~~ [ stdin ]:2: 'argv.py' not found |
osh_.cc | 21 Retrieve index that is a command sub [osh_.cc stdout] Expected "['2 3']\n", got '' [osh_.cc status] Expected 0, got -6 stdout: stderr: osh_eval.dbg: cpp/posix.h:106: Tuple2<int, int> posix::pipe(): Assertion `0' failed. |
osh_.py | 22 Retrieve array indices with ${!a} [osh_.py stdout] Expected "['0', '1']\n", got '' [osh_.py status] Expected 0, got 127 stdout: stderr: argv.py "${!a[@]}" ^~~~~~~ [ stdin ]:2: 'argv.py' not found |
osh_.cc | 22 Retrieve array indices with ${!a} [osh_.cc stdout] Expected "['0', '1']\n", got '' [osh_.cc status] Expected 0, got 127 stdout: stderr: argv.py "${!a[@]}" ^~~~~~~ [ stdin ]:2: 'argv.py' not found |
osh_.py | 23 Retrieve sparse array indices with ${!a} [osh_.py stdout] Expected "['99']\n", got '' [osh_.py status] Expected 0, got 127 stdout: stderr: argv.py "${!a[@]}" ^~~~~~~ [ stdin ]:3: 'argv.py' not found |
osh_.cc | 23 Retrieve sparse array indices with ${!a} [osh_.cc stdout] Expected "['99']\n", got '' [osh_.cc status] Expected 0, got 127 stdout: stderr: argv.py "${!a[@]}" ^~~~~~~ [ stdin ]:3: 'argv.py' not found |
osh_.py | 24 ${!a[1]} is named ref in bash [osh_.py stdout] Expected "['bar']\n", got '' [osh_.py status] Expected 0, got 127 stdout: stderr: argv.py "${!a[1]}" ^~~~~~~ [ stdin ]:3: 'argv.py' not found |
osh_.cc | 24 ${!a[1]} is named ref in bash [osh_.cc stdout] Expected "['bar']\n", got '' [osh_.cc status] Expected 0, got 127 stdout: stderr: argv.py "${!a[1]}" ^~~~~~~ [ stdin ]:3: 'argv.py' not found |
osh_.py | 26 All elements unquoted [osh_.py stdout] Expected "['1', '2', '3']\n", got '' [osh_.py status] Expected 0, got 127 stdout: stderr: argv.py ${a[@]} ^~~~~~~ [ stdin ]:2: 'argv.py' not found |
osh_.cc | 26 All elements unquoted [osh_.cc stdout] Expected "['1', '2', '3']\n", got '' [osh_.cc status] Expected 0, got 127 stdout: stderr: argv.py ${a[@]} ^~~~~~~ [ stdin ]:2: 'argv.py' not found |
osh_.py | 27 All elements quoted [osh_.py stdout] Expected "['1', '2 3']\n", got '' [osh_.py status] Expected 0, got 127 stdout: stderr: argv.py "${a[@]}" ^~~~~~~ [ stdin ]:2: 'argv.py' not found |
osh_.cc | 27 All elements quoted [osh_.cc stdout] Expected "['1', '2 3']\n", got '' [osh_.cc status] Expected 0, got 127 stdout: stderr: argv.py "${a[@]}" ^~~~~~~ [ stdin ]:2: 'argv.py' not found |
osh_.py | 28 $* [osh_.py stdout] Expected "['1', '2', '3']\n", got '' [osh_.py status] Expected 0, got 127 stdout: stderr: argv.py ${a[*]} ^~~~~~~ [ stdin ]:2: 'argv.py' not found |
osh_.cc | 28 $* [osh_.cc stdout] Expected "['1', '2', '3']\n", got '' [osh_.cc status] Expected 0, got 127 stdout: stderr: argv.py ${a[*]} ^~~~~~~ [ stdin ]:2: 'argv.py' not found |
osh_.py | 29 "$*" [osh_.py stdout] Expected "['1 2 3']\n", got '' [osh_.py status] Expected 0, got 127 stdout: stderr: argv.py "${a[*]}" ^~~~~~~ [ stdin ]:2: 'argv.py' not found |
osh_.cc | 29 "$*" [osh_.cc stdout] Expected "['1 2 3']\n", got '' [osh_.cc status] Expected 0, got 127 stdout: stderr: argv.py "${a[*]}" ^~~~~~~ [ stdin ]:2: 'argv.py' not found |
osh_.py | 30 Interpolate array into array [osh_.py stdout] Expected "['0', '1', '2 3', '4 5']\n", got '' [osh_.py status] Expected 0, got 127 stdout: stderr: argv.py "${a[@]}" ^~~~~~~ [ stdin ]:3: 'argv.py' not found |
osh_.cc | 30 Interpolate array into array [osh_.cc stdout] Expected "['0', '1', '2 3', '4 5']\n", got '' [osh_.cc status] Expected 0, got 127 stdout: stderr: argv.py "${a[@]}" ^~~~~~~ [ stdin ]:3: 'argv.py' not found |
osh_.py | 33 Set element [osh_.py stdout] Expected "['9', '2 3']\n", got '' [osh_.py status] Expected 0, got 127 stdout: stderr: argv.py "${a[@]}" ^~~~~~~ [ stdin ]:3: 'argv.py' not found |
osh_.cc | 33 Set element [osh_.cc stdout] Expected "['9', '2 3']\n", got '' [osh_.cc status] Expected 0, got 127 stdout: stderr: argv.py "${a[@]}" ^~~~~~~ [ stdin ]:3: 'argv.py' not found |
osh_.py | 34 Set element with var ref [osh_.py stdout] Expected "['9', '2 3']\n", got '' [osh_.py status] Expected 0, got 127 stdout: stderr: argv.py "${a[@]}" ^~~~~~~ [ stdin ]:4: 'argv.py' not found |
osh_.cc | 34 Set element with var ref [osh_.cc stdout] Expected "['9', '2 3']\n", got '' [osh_.cc status] Expected 0, got 127 stdout: stderr: argv.py "${a[@]}" ^~~~~~~ [ stdin ]:4: 'argv.py' not found |
osh_.py | 35 Set element with array ref [osh_.py stdout] Expected "['1', '9']\n", got '' [osh_.py status] Expected 0, got 127 stdout: stderr: argv.py "${a[@]}" ^~~~~~~ [ stdin ]:4: 'argv.py' not found |
osh_.cc | 35 Set element with array ref [osh_.cc stdout] Expected "['1', '9']\n", got '' [osh_.cc status] Expected 0, got 127 stdout: stderr: argv.py "${a[@]}" ^~~~~~~ [ stdin ]:4: 'argv.py' not found |
osh_.py | 37 Slice of array with [@] [osh_.py stdout] Expected "['2', '3']\n", got '' [osh_.py status] Expected 0, got 127 stdout: stderr: argv.py "${a[@]:1:2}" ^~~~~~~ [ stdin ]:2: 'argv.py' not found |
osh_.cc | 37 Slice of array with [@] [osh_.cc stdout] Expected "['2', '3']\n", got '' [osh_.cc status] Expected 0, got 127 stdout: stderr: argv.py "${a[@]:1:2}" ^~~~~~~ [ stdin ]:2: 'argv.py' not found |
osh_.py | 38 Negative slice begin [osh_.py stdout] Expected "['2', '3', '4', '5']\n", got '' [osh_.py status] Expected 0, got 127 stdout: stderr: argv.py "${a[@]:(-4)}" ^~~~~~~ [ stdin ]:2: 'argv.py' not found |
osh_.cc | 38 Negative slice begin [osh_.cc stdout] Expected "['2', '3', '4', '5']\n", got '' [osh_.cc status] Expected 0, got 127 stdout: stderr: argv.py "${a[@]:(-4)}" ^~~~~~~ [ stdin ]:2: 'argv.py' not found |
osh_.py | 40 Slice with arithmetic [osh_.py stdout] Expected "['2', '3']\n", got '' [osh_.py status] Expected 0, got 127 stdout: stderr: argv.py "${a[@]:i-4:2}" ^~~~~~~ [ stdin ]:3: 'argv.py' not found |
osh_.cc | 40 Slice with arithmetic [osh_.cc stdout] Expected "['2', '3']\n", got '' [osh_.cc status] Expected 0, got 127 stdout: stderr: argv.py "${a[@]:i-4:2}" ^~~~~~~ [ stdin ]:3: 'argv.py' not found |
osh_.py | 44 glob within array yields separate elements [osh_.py stdout] Expected "['_tmp/y.Y', '_tmp/yy.Y']\n", got '' [osh_.py status] Expected 0, got 127 stdout: stderr: argv.py "${a[@]}" ^~~~~~~ [ stdin ]:3: 'argv.py' not found |
osh_.cc | 44 glob within array yields separate elements [osh_.cc stdout] Expected "['_tmp/y.Y', '_tmp/yy.Y']\n", got '' [osh_.cc status] Expected 0, got 127 stdout: stderr: argv.py "${a[@]}" ^~~~~~~ [ stdin ]:3: 'argv.py' not found |
osh_.py | 45 declare array and then append [osh_.py stdout] Expected "['a', 'b', 'c']\n", got '' [osh_.py status] Expected 0, got 127 stdout: stderr: argv.py "${array[@]}" ^~~~~~~ [ stdin ]:4: 'argv.py' not found |
osh_.cc | 45 declare array and then append [osh_.cc stdout] Expected "['a', 'b', 'c']\n", got '' [osh_.cc status] Expected 0, got 127 stdout: stderr: argv.py "${array[@]}" ^~~~~~~ [ stdin ]:4: 'argv.py' not found |
osh | 47 Single array with :- stdout: ['x', '']stderr: |
osh_.py | 47 Single array with :- [osh_.py stdout] Expected "['x', '']\n", got '' [osh_.py status] Expected 0, got 127 stdout: stderr: argv.py ${single[@]:-none} x "${single[@]:-none}" ^~~~~~~ [ stdin ]:2: 'argv.py' not found |
osh_.cc | 47 Single array with :- [osh_.cc stdout] Expected "['x', '']\n", got '' [osh_.cc status] Expected 0, got 127 stdout: stderr: argv.py ${single[@]:-none} x "${single[@]:-none}" ^~~~~~~ [ stdin ]:2: 'argv.py' not found |
osh_.py | 48 Stripping a whole array unquoted [osh_.py stdout] Expected "['foo', 'sp', 'ace.h', 'bar']\n", got '' [osh_.py status] Expected 0, got 127 stdout: stderr: argv.py ${files[@]%.c} ^~~~~~~ [ stdin ]:2: 'argv.py' not found |
osh_.cc | 48 Stripping a whole array unquoted [osh_.cc stdout] Expected "['foo', 'sp', 'ace.h', 'bar']\n", got '' [osh_.cc status] Expected 0, got 127 stdout: stderr: argv.py ${files[@]%.c} ^~~~~~~ [ stdin ]:2: 'argv.py' not found |
osh_.py | 49 Stripping a whole array quoted [osh_.py stdout] Expected "['foo', 'sp ace.h', 'bar']\n", got '' [osh_.py status] Expected 0, got 127 stdout: stderr: argv.py "${files[@]%.c}" ^~~~~~~ [ stdin ]:2: 'argv.py' not found |
osh_.cc | 49 Stripping a whole array quoted [osh_.cc stdout] Expected "['foo', 'sp ace.h', 'bar']\n", got '' [osh_.cc status] Expected 0, got 127 stdout: stderr: argv.py "${files[@]%.c}" ^~~~~~~ [ stdin ]:2: 'argv.py' not found |
osh_.py | 53 Create a "user" array out of the argv array [osh_.py stdout] Expected "['x y', 'z', 'a b', 'c']\n", got '' [osh_.py status] Expected 0, got 127 stdout: stderr: argv.py "${array1[@]}" "${array2[@]}" ^~~~~~~ [ stdin ]:4: 'argv.py' not found |
osh_.cc | 53 Create a "user" array out of the argv array [osh_.cc stdout] Expected "['x y', 'z', 'a b', 'c']\n", got '' [osh_.cc status] Expected 0, got 127 stdout: stderr: argv.py "${array1[@]}" "${array2[@]}" ^~~~~~~ [ stdin ]:4: 'argv.py' not found |
osh_.py | 56 array default [osh_.py stdout] Expected "['1 2', '3']\n", got '' [osh_.py status] Expected 0, got 127 stdout: stderr: argv.py "${undef[@]:-${default[@]}}" ^~~~~~~ [ stdin ]:2: 'argv.py' not found |
osh_.cc | 56 array default [osh_.cc stdout] Expected "['1 2', '3']\n", got '' [osh_.cc status] Expected 0, got 127 stdout: stderr: argv.py "${undef[@]:-${default[@]}}" ^~~~~~~ [ stdin ]:2: 'argv.py' not found |
osh_.py | 58 declare -a / local -a is empty array [osh_.py stdout] Expected "[]\n['x']\n[]\n['x']\n", got '' [osh_.py status] Expected 0, got 127 stdout: stderr: argv.py "${myarray[@]}" ^~~~~~~ [ stdin ]:2: 'argv.py' not found argv.py "${myarray[@]}" ^~~~~~~ [ stdin ]:4: 'argv.py' not found argv.py "${myarray[@]}" ^~~~~~~ [ stdin ]:7: 'argv.py' not found argv.py "${myarray[@]}" ^~~~~~~ [ stdin ]:9: 'argv.py' not found |
osh_.cc | 58 declare -a / local -a is empty array [osh_.cc stdout] Expected "[]\n['x']\n[]\n['x']\n", got '' [osh_.cc status] Expected 0, got 127 stdout: stderr: argv.py "${myarray[@]}" ^~~~~~~ [ stdin ]:2: 'argv.py' not found argv.py "${myarray[@]}" ^~~~~~~ [ stdin ]:4: 'argv.py' not found argv.py "${myarray[@]}" ^~~~~~~ [ stdin ]:7: 'argv.py' not found argv.py "${myarray[@]}" ^~~~~~~ [ stdin ]:9: 'argv.py' not found |
osh_.py | 59 Create sparse array [osh_.py stdout] Expected "len=1\n['1']\nunset=\nlen-of-unset=0\n", got 'len=1\nunset=\nlen-of-unset=0\n' stdout: len=1 unset= len-of-unset=0stderr: argv.py "${a[@]}" ^~~~~~~ [ stdin ]:4: 'argv.py' not found |
osh_.cc | 59 Create sparse array [osh_.cc stdout] Expected "len=1\n['1']\nunset=\nlen-of-unset=0\n", got 'len=1\nunset=\nlen-of-unset=0\n' stdout: len=1 unset= len-of-unset=0stderr: argv.py "${a[@]}" ^~~~~~~ [ stdin ]:4: 'argv.py' not found |
osh_.py | 60 Create sparse array implicitly [osh_.py stdout] Expected "len=1\n['1']\nunset=\nlen-of-unset=0\n", got 'len=1\nunset=\nlen-of-unset=0\n' stdout: len=1 unset= len-of-unset=0stderr: argv.py "${a[@]}" ^~~~~~~ [ stdin ]:3: 'argv.py' not found |
osh_.cc | 60 Create sparse array implicitly [osh_.cc stdout] Expected "len=1\n['1']\nunset=\nlen-of-unset=0\n", got 'len=1\nunset=\nlen-of-unset=0\n' stdout: len=1 unset= len-of-unset=0stderr: argv.py "${a[@]}" ^~~~~~~ [ stdin ]:3: 'argv.py' not found |
osh_.py | 61 Append sparse arrays [osh_.py stdout] Expected "['1', '2', '3']\n['1', '2', '3']\n", got '' [osh_.py status] Expected 0, got 127 stdout: stderr: argv.py "${a[@]}" ^~~~~~~ [ stdin ]:7: 'argv.py' not found argv.py "${a[99]}" "${a[100]}" "${a[101]}" ^~~~~~~ [ stdin ]:8: 'argv.py' not found |
osh_.cc | 61 Append sparse arrays [osh_.cc stdout] Expected "['1', '2', '3']\n['1', '2', '3']\n", got '' [osh_.cc status] Expected 0, got 127 stdout: stderr: argv.py "${a[@]}" ^~~~~~~ [ stdin ]:7: 'argv.py' not found argv.py "${a[99]}" "${a[100]}" "${a[101]}" ^~~~~~~ [ stdin ]:8: 'argv.py' not found |
osh_.py | 62 Slice of sparse array with [@] [osh_.py stdout] Expected "['1', '2']\n", got '' [osh_.py status] Expected 0, got 127 stdout: stderr: argv.py "${a[@]:15:2}" ^~~~~~~ [ stdin ]:4: 'argv.py' not found |
osh_.cc | 62 Slice of sparse array with [@] [osh_.cc stdout] Expected "['1', '2']\n", got '' [osh_.cc status] Expected 0, got 127 stdout: stderr: argv.py "${a[@]:15:2}" ^~~~~~~ [ stdin ]:4: 'argv.py' not found |