682 passed, 0 OK, 0 not implemented, 0 BUG, 63 failed, 0 timeouts, 0 cases skipped 63 failed under osh
| osh | 53 4.1 Bourne Builtins: trap [osh stdout] Expected 'running\nexiting\n' Got 'running\n' stdout: runningstderr: |
| osh-cpp | 53 4.1 Bourne Builtins: trap [osh-cpp stdout] Expected 'running\nexiting\n' Got 'running\n' stdout: runningstderr: |
| osh | 60 5.2 Bash Variables: RANDOM [osh stdout] Expected 'integers\n' Got '' stdout: stderr: |
| osh-cpp | 60 5.2 Bash Variables: RANDOM [osh-cpp stdout] Expected 'integers\n' Got '' stdout: stderr: |
| osh | 100 3.5.3 Expansion (Error if Unset :?) [osh stdout] Expected 'error_msg\n' Got '' [osh status] Expected 0 Got 1 stdout: stderr: ( unset v; echo "${v:?error_msg}" ) 2>&1 | grep -o "error_msg"
^
[ stdin ]:1: fatal: Var v is unset: 'error_msg'
|
| osh-cpp | 100 3.5.3 Expansion (Error if Unset :?) [osh-cpp stdout] Expected 'error_msg\n' Got '' [osh-cpp status] Expected 0 Got 1 stdout: stderr: ( unset v; echo "${v:?error_msg}" ) 2>&1 | grep -o "error_msg"
^
[ stdin ]:1: fatal: Var v is unset: 'error_msg'
|
| osh | 124 4.1 Bourne Builtins: trap (INT) [osh stdout] Expected 'caught\n' Got '' stdout: stderr: |
| osh-cpp | 124 4.1 Bourne Builtins: trap (INT) [osh-cpp stdout] Expected 'caught\n' Got '' stdout: stderr: |
| osh | 125 4.2 Bash Builtins: declare [osh stdout] Expected '15\n' Got '10+5\n' stdout: 10+5stderr: declare -i integer ^~~~~~~ [ stdin ]:1: 'declare' doesn't implement flag -i (shopt --set ignore_flags_not_impl) |
| osh-cpp | 125 4.2 Bash Builtins: declare [osh-cpp stdout] Expected '15\n' Got '10+5\n' stdout: 10+5stderr: declare -i integer ^~~~~~~ [ stdin ]:1: 'declare' doesn't implement flag -i (shopt --set ignore_flags_not_impl) |
| osh | 129 4.2 Bash Builtins: shopt (globstar) [osh stdout] Expected 'set\nunset\n' Got 'unset\n' stdout: unsetstderr: shopt -s globstar ^~~~~ [ stdin ]:1: 'shopt' got invalid option 'globstar' shopt -u globstar ^~~~~ [ stdin ]:3: 'shopt' got invalid option 'globstar' |
| osh-cpp | 129 4.2 Bash Builtins: shopt (globstar) [osh-cpp stdout] Expected 'set\nunset\n' Got 'unset\n' stdout: unsetstderr: shopt -s globstar ^~~~~ [ stdin ]:1: 'shopt' got invalid option 'globstar' shopt -u globstar ^~~~~ [ stdin ]:3: 'shopt' got invalid option 'globstar' |
| osh | 130 5.2 Bash Variables: RANDOM (Check) [osh stdout] Expected 'ok\n' Got 'collision\n' stdout: collisionstderr: |
| osh-cpp | 130 5.2 Bash Variables: RANDOM (Check) [osh-cpp stdout] Expected 'ok\n' Got 'collision\n' stdout: collisionstderr: |
| osh | 139 6.7 Arrays (Associative) [osh stdout] Expected 'value\nbar\n' Got '' [osh status] Expected 0 Got 1 stdout: stderr: dict[key]="value" ^~~~~ [ stdin ]:2: fatal: Assoc array keys must be strings: $x 'x' "$x" etc. (OILS-ERR-101) |
| osh-cpp | 139 6.7 Arrays (Associative) [osh-cpp stdout] Expected 'value\nbar\n' Got '' [osh-cpp status] Expected 0 Got 1 stdout: stderr: dict[key]="value" ^~~~~ [ stdin ]:2: fatal: Assoc array keys must be strings: $x 'x' "$x" etc. (OILS-ERR-101) |
| osh | 140 6.7 Arrays (Associative Keys) [osh stdout] Expected 'a\nb\n' Got '' [osh status] Expected 0 Got 1 stdout: stderr: dict[a]=1 ^~~~~ [ stdin ]:2: fatal: Assoc array keys must be strings: $x 'x' "$x" etc. (OILS-ERR-101) |
| osh-cpp | 140 6.7 Arrays (Associative Keys) [osh-cpp stdout] Expected 'a\nb\n' Got '' [osh-cpp status] Expected 0 Got 1 stdout: stderr: dict[a]=1 ^~~~~ [ stdin ]:2: fatal: Assoc array keys must be strings: $x 'x' "$x" etc. (OILS-ERR-101) |
| osh | 171 B.1 SVR4.2 Differences (Select) [osh stdout] Expected 'one\n' Got '' [osh status] Expected 0 Got 2 stdout: stderr: select i in one; do echo $i; break; done <<EOF
^~
[ stdin ]:1: Unexpected word when parsing command
|
| osh-cpp | 171 B.1 SVR4.2 Differences (Select) [osh-cpp stdout] Expected 'one\n' Got '' [osh-cpp status] Expected 0 Got 2 stdout: stderr: select i in one; do echo $i; break; done <<EOF
^~
[ stdin ]:1: Unexpected word when parsing command
|
| osh | 193 6.5 Arithmetic Constants (Base#) [osh stdout] Expected '5\n10\n' Got '5\n0\n' stdout: 5 0stderr: |
| osh-cpp | 193 6.5 Arithmetic Constants (Base#) [osh-cpp stdout] Expected '5\n10\n' Got '5\n0\n' stdout: 5 0stderr: |
| osh | 207 5.2 Bash Variables: BASH_SUBSHELL [osh stdout] Expected '0\n1\n' Got '\n\n' stdout: stderr: |
| osh-cpp | 207 5.2 Bash Variables: BASH_SUBSHELL [osh-cpp stdout] Expected '0\n1\n' Got '\n\n' stdout: stderr: |
| osh | 246 4.3.1 Set -u: Array Expansion (Empty) [osh stdout] Expected 'ok\n' Got '' [osh status] Expected 0 Got 1 stdout: stderr: for x in "${a[@]}"; do
^
[ stdin ]:3: fatal: Undefined array 'a'
|
| osh-cpp | 246 4.3.1 Set -u: Array Expansion (Empty) [osh-cpp stdout] Expected 'ok\n' Got '' [osh-cpp status] Expected 0 Got 1 stdout: stderr: for x in "${a[@]}"; do
^
[ stdin ]:3: fatal: Undefined array 'a'
|
| osh | 251 3.5.3 Expansion: Case Toggle (~~) [osh stdout] Expected 'aBcD\n' Got '' [osh status] Expected 0 Got 2 stdout: stderr: echo "${v~~}"
^
[ stdin ]:2: Expected } to close ${
|
| osh-cpp | 251 3.5.3 Expansion: Case Toggle (~~) [osh-cpp stdout] Expected 'aBcD\n' Got '' [osh-cpp status] Expected 0 Got 2 stdout: stderr: echo "${v~~}"
^
[ stdin ]:2: Expected } to close ${
|
| osh | 257 4.1 Builtins: trap (RETURN) [osh stdout] Expected 'inside\nreturning\n' Got 'inside\n' [osh status] Expected 0 Got 2 stdout: insidestderr: osh warning: The 'RETURN' hook isn't implemented |
| osh-cpp | 257 4.1 Builtins: trap (RETURN) [osh-cpp stdout] Expected 'inside\nreturning\n' Got 'inside\n' [osh-cpp status] Expected 0 Got 2 stdout: insidestderr: osh warning: The 'RETURN' hook isn't implemented |
| osh | 260 4.2 Builtins: caller [osh stdout] Expected 'f1\n' Got '' stdout: stderr: f2() { caller 0 | awk '{print $2}'; } # Print the calling function name
^~~~~~
[ stdin ]:2: Command 'caller' not found (OILS-ERR-100)
|
| osh-cpp | 260 4.2 Builtins: caller [osh-cpp stdout] Expected 'f1\n' Got '' stdout: stderr: f2() { caller 0 | awk '{print $2}'; } # Print the calling function name
^~~~~~
[ stdin ]:2: Command 'caller' not found (OILS-ERR-100)
|
| osh | 263 4.2 Builtins: help -d [osh stdout] Expected '' Got 'no help\n' stdout: no helpstderr: |
| osh-cpp | 263 4.2 Builtins: help -d [osh-cpp stdout] Expected '' Got 'no help\n' stdout: no helpstderr: |
| osh | 264 4.2 Builtins: mapfile -C (Callback) [osh stdout] Expected 'cb: 0 a\ncb: 1 b\ncb: 2 c\n' Got '' stdout: stderr: mapfile -C callback -c 1 lines < map.txt
^~
[ stdin ]:3: 'mapfile' doesn't accept flag -C
|
| osh-cpp | 264 4.2 Builtins: mapfile -C (Callback) [osh-cpp stdout] Expected 'cb: 0 a\ncb: 1 b\ncb: 2 c\n' Got '' stdout: stderr: mapfile -C callback -c 1 lines < map.txt
^~
[ stdin ]:3: 'mapfile' doesn't accept flag -C
|
| osh | 266 4.2 Builtins: type -a [osh stdout] Expected '2\n' Got '3\n' stdout: 3stderr: |
| osh-cpp | 266 4.2 Builtins: type -a [osh-cpp stdout] Expected '2\n' Got '3\n' stdout: 3stderr: |
| osh | 268 6.2 Bash Startup Files (BASH_ENV) [osh stdout] Expected 'loaded\nmain\n' Got 'main\n' stdout: mainstderr: |
| osh-cpp | 268 6.2 Bash Startup Files (BASH_ENV) [osh-cpp stdout] Expected 'loaded\nmain\n' Got 'main\n' stdout: mainstderr: |
| osh | 270 6.10 The Restricted Shell (cd) [osh stdout] Expected 'restricted\n' Got '' stdout: stderr: set -r
^~
[ stdin ]:2: 'set' got invalid flag '-r'
|
| osh-cpp | 270 6.10 The Restricted Shell (cd) [osh-cpp stdout] Expected 'restricted\n' Got '' stdout: stderr: set -r
^~
[ stdin ]:2: 'set' got invalid flag '-r'
|
| osh | 271 6.10 The Restricted Shell (Redirection) [osh stdout] Expected 'restricted\n' Got '' stdout: stderr: set -r
^~
[ stdin ]:2: 'set' got invalid flag '-r'
|
| osh-cpp | 271 6.10 The Restricted Shell (Redirection) [osh-cpp stdout] Expected 'restricted\n' Got '' stdout: stderr: set -r
^~
[ stdin ]:2: 'set' got invalid flag '-r'
|
| osh | 273 3.5.2 Tilde Expansion (~+) [osh stdout] Expected 'match\n' Got '' [osh status] Expected 0 Got 1 stdout: stderr: |
| osh-cpp | 273 3.5.2 Tilde Expansion (~+) [osh-cpp stdout] Expected 'match\n' Got '' [osh-cpp status] Expected 0 Got 1 stdout: stderr: |
| osh | 274 3.5.2 Tilde Expansion (~-) [osh stdout] Expected 'match\n' Got '' [osh status] Expected 0 Got 1 stdout: stderr: |
| osh-cpp | 274 3.5.2 Tilde Expansion (~-) [osh-cpp stdout] Expected 'match\n' Got '' [osh-cpp status] Expected 0 Got 1 stdout: stderr: |
| osh | 275 4.1 Builtins: cd (CDPATH) [osh stdout] Expected 'found subdir\n' Got '' stdout: stderr: cd subdir >/dev/null
^~~~~~
[ stdin ]:4: cd '/home/uke/oil/_tmp/spec-tmp/gemini.test.sh/275-osh/subdir': No such file or directory
|
| osh-cpp | 275 4.1 Builtins: cd (CDPATH) [osh-cpp stdout] Expected 'found subdir\n' Got '' stdout: stderr: cd subdir >/dev/null
^~~~~~
[ stdin ]:4: cd '/home/uke/oil/_tmp/spec-tmp/gemini.test.sh/275-osh-cpp/subdir': No such file or directory
|
| osh | 276 4.2 Builtins: read -t (Timeout) [osh stdout] Expected 'timed out\n' Got '' [osh status] Expected 0 Got 1 stdout: stderr: if ! read -t 0.1 var; then echo "timed out"; fi
^~~~
[ stdin ]:1: fatal: read -t isn't implemented (except t=0)
|
| osh-cpp | 276 4.2 Builtins: read -t (Timeout) [osh-cpp stdout] Expected 'timed out\n' Got '' [osh-cpp status] Expected 0 Got 1 stdout: stderr: if ! read -t 0.1 var; then echo "timed out"; fi
^~~~
[ stdin ]:1: fatal: read -t isn't implemented (except t=0)
|
| osh | 278 4.2 Builtins: disown [osh stdout] Expected 'done\n' Got '%1 26588 Running [subprog] BraceGroup\ndone\n' stdout: %1 26588 Running [subprog] BraceGroup donestderr: disown $! ^~~~~~ [ stdin ]:2: Command 'disown' not found (OILS-ERR-100) |
| osh-cpp | 278 4.2 Builtins: disown [osh-cpp stdout] Expected 'done\n' Got '%1 26594 Running [subprog] BraceGroup\ndone\n' stdout: %1 26594 Running [subprog] BraceGroup donestderr: disown $! ^~~~~~ [ stdin ]:2: Command 'disown' not found (OILS-ERR-100) |
| osh | 280 4.3.2 Shopt: nocaseglob [osh stdout] Expected 'CASE_TEST\n' Got 'case_tes[t]\n' stdout: case_tes[t]stderr: shopt -s nocaseglob ^~~~~ [ stdin ]:2: 'shopt' got invalid option 'nocaseglob' shopt -u nocaseglob ^~~~~ [ stdin ]:4: 'shopt' got invalid option 'nocaseglob' |
| osh-cpp | 280 4.3.2 Shopt: nocaseglob [osh-cpp stdout] Expected 'CASE_TEST\n' Got 'case_tes[t]\n' stdout: case_tes[t]stderr: shopt -s nocaseglob ^~~~~ [ stdin ]:2: 'shopt' got invalid option 'nocaseglob' shopt -u nocaseglob ^~~~~ [ stdin ]:4: 'shopt' got invalid option 'nocaseglob' |
| osh | 282 4.3.2 Shopt: xpg_echo [osh stdout] Expected 'a\nb\n' Got 'a\\nb\n' [osh status] Expected 0 Got 2 stdout: a\nbstderr: shopt -s xpg_echo ^~~~~ [ stdin ]:1: 'shopt' got invalid option 'xpg_echo' shopt -u xpg_echo ^~~~~ [ stdin ]:3: 'shopt' got invalid option 'xpg_echo' |
| osh-cpp | 282 4.3.2 Shopt: xpg_echo [osh-cpp stdout] Expected 'a\nb\n' Got 'a\\nb\n' [osh-cpp status] Expected 0 Got 2 stdout: a\nbstderr: shopt -s xpg_echo ^~~~~ [ stdin ]:1: 'shopt' got invalid option 'xpg_echo' shopt -u xpg_echo ^~~~~ [ stdin ]:3: 'shopt' got invalid option 'xpg_echo' |
| osh | 292 3.5.3 Expansion: Transform @E (Escape) [osh stdout] Expected 'tab expanded\n' Got '' [osh status] Expected 0 Got 1 stdout: stderr: expanded="${var@E}"
^~
[ stdin ]:2: fatal: Var op '@E' not implemented
|
| osh-cpp | 292 3.5.3 Expansion: Transform @E (Escape) [osh-cpp stdout] Expected 'tab expanded\n' Got '' [osh-cpp status] Expected 0 Got 1 stdout: stderr: expanded="${var@E}"
^~
[ stdin ]:2: fatal: Var op '@E' not implemented
|
| osh | 294 3.5.3 Expansion: Transform @A (Assignment) [osh stdout] Expected 'value\n' Got '' [osh status] Expected 0 Got 1 stdout: stderr: eval "${var@A}"
^~
[ stdin ]:2: fatal: Var op '@A' not implemented
|
| osh-cpp | 294 3.5.3 Expansion: Transform @A (Assignment) [osh-cpp stdout] Expected 'value\n' Got '' [osh-cpp status] Expected 0 Got 1 stdout: stderr: eval "${var@A}"
^~
[ stdin ]:2: fatal: Var op '@A' not implemented
|
| osh | 295 6.9 Prompt: PROMPT_DIRTRIM [osh stdout] Expected 'trimmed\n' Got '' stdout: stderr: |
| osh-cpp | 295 6.9 Prompt: PROMPT_DIRTRIM [osh-cpp stdout] Expected 'trimmed\n' Got '' stdout: stderr: |
| osh | 297 4.3.2 Shopt: shift_verbose [osh stdout] Expected 'error reported\n' Got '' [osh status] Expected 0 Got 2 stdout: stderr: shopt -s shift_verbose ^~~~~ [ stdin ]:2: 'shopt' got invalid option 'shift_verbose' shopt -u shift_verbose ^~~~~ [ stdin ]:4: 'shopt' got invalid option 'shift_verbose' |
| osh-cpp | 297 4.3.2 Shopt: shift_verbose [osh-cpp stdout] Expected 'error reported\n' Got '' [osh-cpp status] Expected 0 Got 2 stdout: stderr: shopt -s shift_verbose ^~~~~ [ stdin ]:2: 'shopt' got invalid option 'shift_verbose' shopt -u shift_verbose ^~~~~ [ stdin ]:4: 'shopt' got invalid option 'shift_verbose' |
| osh | 298 4.3.2 Shopt: sourcepath [osh stdout] Expected 'on by default\n' Got '' [osh status] Expected 0 Got 2 stdout: stderr: |
| osh-cpp | 298 4.3.2 Shopt: sourcepath [osh-cpp stdout] Expected 'on by default\n' Got '' [osh-cpp status] Expected 0 Got 2 stdout: stderr: |
| osh | 303 6.8 Directory Stack: pushd +n (Rotate Left) [osh stdout] Expected 'd2\n' Got '' stdout: stderr: pushd +1 >/dev/null
^
[ stdin ]:6: pushd: '/home/uke/oil/_tmp/spec-tmp/gemini.test.sh/303-osh/d3/+1': No such file or directory
popd >/dev/null
^~~~
[ stdin ]:10: popd: directory stack is empty
|
| osh-cpp | 303 6.8 Directory Stack: pushd +n (Rotate Left) [osh-cpp stdout] Expected 'd2\n' Got '' stdout: stderr: pushd +1 >/dev/null
^
[ stdin ]:6: pushd: '/home/uke/oil/_tmp/spec-tmp/gemini.test.sh/303-osh-cpp/d3/+1': No such file or directory
popd >/dev/null
^~~~
[ stdin ]:10: popd: directory stack is empty
|
| osh | 304 6.8 Directory Stack: popd -n (Remove from right) [osh stdout] Expected 'd1 gone\n' Got '' stdout: stderr: popd -0 >/dev/null
^~
[ stdin ]:6: 'popd' doesn't accept flag -Z
|
| osh-cpp | 304 6.8 Directory Stack: popd -n (Remove from right) [osh-cpp stdout] Expected 'd1 gone\n' Got '' stdout: stderr: popd -0 >/dev/null
^~
[ stdin ]:6: 'popd' doesn't accept flag -Z
|
| osh | 306 3.3 Functions: export -f [osh stdout] Expected 'exported function works\n' Got '' [osh status] Expected 0 Got 127 stdout: stderr: export -f my_func ^~~~~~ [ stdin ]:2: 'export' doesn't accept -f because it's dangerous. (The code can usually be restructured with 'source') my_func ^~~~~~~ [ -c flag ]:1: Command 'my_func' not found (OILS-ERR-100) |
| osh-cpp | 306 3.3 Functions: export -f [osh-cpp stdout] Expected 'exported function works\n' Got '' [osh-cpp status] Expected 0 Got 127 stdout: stderr: export -f my_func ^~~~~~ [ stdin ]:2: 'export' doesn't accept -f because it's dangerous. (The code can usually be restructured with 'source') my_func ^~~~~~~ [ -c flag ]:1: Command 'my_func' not found (OILS-ERR-100) |
| osh | 309 5.2 Bash Variables: BASH_VERSINFO [osh stdout] Expected 'ok\n' Got '' stdout: stderr: |
| osh-cpp | 309 5.2 Bash Variables: BASH_VERSINFO [osh-cpp stdout] Expected 'ok\n' Got '' stdout: stderr: |
| osh | 310 5.2 Bash Variables: GROUPS [osh stdout] Expected 'ok\n' Got '' stdout: stderr: |
| osh-cpp | 310 5.2 Bash Variables: GROUPS [osh-cpp stdout] Expected 'ok\n' Got '' stdout: stderr: |
| osh | 315 9.3 History Expansion (Scripted) [osh stdout] Expected 'history works\n' Got '' [osh status] Expected 0 Got 1 stdout: stderr: set -H
^~
[ stdin ]:1: 'set' got invalid flag '-H'
history -s "echo previous_command"
^~
[ stdin ]:2: 'history' doesn't accept flag -s
history -s echo "history_entry"
^~
[ stdin ]:4: 'history' doesn't accept flag -s
|
| osh-cpp | 315 9.3 History Expansion (Scripted) [osh-cpp stdout] Expected 'history works\n' Got '' [osh-cpp status] Expected 0 Got 1 stdout: stderr: set -H
^~
[ stdin ]:1: 'set' got invalid flag '-H'
history -s "echo previous_command"
^~
[ stdin ]:2: 'history' doesn't accept flag -s
history -s echo "history_entry"
^~
[ stdin ]:4: 'history' doesn't accept flag -s
|
| osh | 316 4.2 Builtins: fc -l (List) [osh stdout] Expected '2\n' Got '0\n' [osh status] Expected 0 Got 1 stdout: 0stderr: history -s "cmd1"
^~
[ stdin ]:1: 'history' doesn't accept flag -s
history -s "cmd2"
^~
[ stdin ]:2: 'history' doesn't accept flag -s
fc -l -2 | grep -c "cmd"
^~
[ stdin ]:3: 'fc' doesn't accept flag -2
|
| osh-cpp | 316 4.2 Builtins: fc -l (List) [osh-cpp stdout] Expected '2\n' Got '0\n' [osh-cpp status] Expected 0 Got 1 stdout: 0stderr: history -s "cmd1"
^~
[ stdin ]:1: 'history' doesn't accept flag -s
history -s "cmd2"
^~
[ stdin ]:2: 'history' doesn't accept flag -s
fc -l -2 | grep -c "cmd"
^~
[ stdin ]:3: 'fc' doesn't accept flag -2
|
| osh | 321 6.4 Conditional: [[ -R var ]] (Nameref) [osh stdout] Expected 'is ref\nfoo not ref\n' Got '' [osh status] Expected 0 Got 1 stdout: stderr: if [[ -R ref ]]; then echo "is ref"; fi
^~
[ stdin ]:2: fatal: Id.BoolUnary_R isn't implemented
|
| osh-cpp | 321 6.4 Conditional: [[ -R var ]] (Nameref) [osh-cpp stdout] Expected 'is ref\nfoo not ref\n' Got '' [osh-cpp status] Expected 0 Got 1 stdout: stderr: if [[ -R ref ]]; then echo "is ref"; fi
^~
[ stdin ]:2: fatal: Id.BoolUnary_R isn't implemented
|
| osh | 322 4.3.2 Shopt: globstar (Limit) [osh stdout] Expected 'gs/\ngs/a/\ngs/a/b/\n' Got 'gs/a/\n' [osh status] Expected 0 Got 2 stdout: gs/a/stderr: shopt -s globstar ^~~~~ [ stdin ]:1: 'shopt' got invalid option 'globstar' shopt -u globstar ^~~~~ [ stdin ]:6: 'shopt' got invalid option 'globstar' |
| osh-cpp | 322 4.3.2 Shopt: globstar (Limit) [osh-cpp stdout] Expected 'gs/\ngs/a/\ngs/a/b/\n' Got 'gs/a/\n' [osh-cpp status] Expected 0 Got 2 stdout: gs/a/stderr: shopt -s globstar ^~~~~ [ stdin ]:1: 'shopt' got invalid option 'globstar' shopt -u globstar ^~~~~ [ stdin ]:6: 'shopt' got invalid option 'globstar' |
| osh | 325 6.5 Arithmetic: Arbitrary Base (Base 36) [osh stdout] Expected '35\n' Got '0\n' stdout: 0stderr: |
| osh-cpp | 325 6.5 Arithmetic: Arbitrary Base (Base 36) [osh-cpp stdout] Expected '35\n' Got '0\n' stdout: 0stderr: |
| osh | 327 6.7 Arrays: Unset Associative Element [osh stdout] Expected '1\n2\n' Got '' [osh status] Expected 0 Got 1 stdout: stderr: dict[one]=1 ^~~~~ [ stdin ]:2: fatal: Assoc array keys must be strings: $x 'x' "$x" etc. (OILS-ERR-101) |
| osh-cpp | 327 6.7 Arrays: Unset Associative Element [osh-cpp stdout] Expected '1\n2\n' Got '' [osh-cpp status] Expected 0 Got 1 stdout: stderr: dict[one]=1 ^~~~~ [ stdin ]:2: fatal: Assoc array keys must be strings: $x 'x' "$x" etc. (OILS-ERR-101) |
| osh | 340 4.3.1 Set: -a (allexport function) [osh stdout] Expected 'func visible\n' Got '' stdout: stderr: my_exported_func ^~~~~~~~~~~~~~~~ [ -c flag ]:1: Command 'my_exported_func' not found (OILS-ERR-100) |
| osh-cpp | 340 4.3.1 Set: -a (allexport function) [osh-cpp stdout] Expected 'func visible\n' Got '' stdout: stderr: my_exported_func ^~~~~~~~~~~~~~~~ [ -c flag ]:1: Command 'my_exported_func' not found (OILS-ERR-100) |
| osh | 348 4.1 Builtins: getopts (Silent Reporting) [osh stdout] Expected 'opt: ?\narg: x\n' Got 'opt: ?\narg: \n' stdout: opt: ? arg:stderr: |
| osh-cpp | 348 4.1 Builtins: getopts (Silent Reporting) [osh-cpp stdout] Expected 'opt: ?\narg: x\n' Got 'opt: ?\narg: \n' stdout: opt: ? arg:stderr: |
| osh | 349 4.1 Builtins: getopts (Missing Argument) [osh stdout] Expected 'opt: :\narg: a\n' Got 'opt: ?\narg: \n' stdout: opt: ? arg:stderr: getopts ":a:" opt ^~~~~~~ [ stdin ]:2: getopts: option '-a' requires an argument. (getopts argv: -a) |
| osh-cpp | 349 4.1 Builtins: getopts (Missing Argument) [osh-cpp stdout] Expected 'opt: :\narg: a\n' Got 'opt: ?\narg: \n' stdout: opt: ? arg:stderr: getopts ":a:" opt ^~~~~~~ [ stdin ]:2: getopts: option '-a' requires an argument. (getopts argv: -a) |
| osh | 350 4.1 Builtins: trap (Ignore Signal) [osh stdout] Expected 'ignored\n' Got '' stdout: stderr: |
| osh-cpp | 350 4.1 Builtins: trap (Ignore Signal) [osh-cpp stdout] Expected 'ignored\n' Got '' stdout: stderr: |
| osh | 357 4.2 Builtins: declare -i (Integer) [osh stdout] Expected '2\n' Got '1 + 1\n' stdout: 1 + 1stderr: declare -i val ^~~~~~~ [ stdin ]:1: 'declare' doesn't implement flag -i (shopt --set ignore_flags_not_impl) |
| osh-cpp | 357 4.2 Builtins: declare -i (Integer) [osh-cpp stdout] Expected '2\n' Got '1 + 1\n' stdout: 1 + 1stderr: declare -i val ^~~~~~~ [ stdin ]:1: 'declare' doesn't implement flag -i (shopt --set ignore_flags_not_impl) |
| osh | 358 4.2 Builtins: declare -i (Reference) [osh stdout] Expected '15\n' Got 'ref + 5\n' stdout: ref + 5stderr: declare -i val ^~~~~~~ [ stdin ]:2: 'declare' doesn't implement flag -i (shopt --set ignore_flags_not_impl) |
| osh-cpp | 358 4.2 Builtins: declare -i (Reference) [osh-cpp stdout] Expected '15\n' Got 'ref + 5\n' stdout: ref + 5stderr: declare -i val ^~~~~~~ [ stdin ]:2: 'declare' doesn't implement flag -i (shopt --set ignore_flags_not_impl) |
| osh | 359 4.2 Builtins: declare -u (Uppercase) [osh stdout] Expected 'ABC\nMIXEDCASE\n' Got 'abc\nmixedCASE\n' stdout: abc mixedCASEstderr: declare -u upper ^~~~~~~ [ stdin ]:1: Warning: OSH doesn't implement flags -l or -u (shopt --set ignore_flags_not_impl) |
| osh-cpp | 359 4.2 Builtins: declare -u (Uppercase) [osh-cpp stdout] Expected 'ABC\nMIXEDCASE\n' Got 'abc\nmixedCASE\n' stdout: abc mixedCASEstderr: declare -u upper ^~~~~~~ [ stdin ]:1: Warning: OSH doesn't implement flags -l or -u (shopt --set ignore_flags_not_impl) |
| osh | 360 4.2 Builtins: declare -l (Lowercase) [osh stdout] Expected 'xyz\n' Got 'XYZ\n' stdout: XYZstderr: declare -l lower ^~~~~~~ [ stdin ]:1: Warning: OSH doesn't implement flags -l or -u (shopt --set ignore_flags_not_impl) |
| osh-cpp | 360 4.2 Builtins: declare -l (Lowercase) [osh-cpp stdout] Expected 'xyz\n' Got 'XYZ\n' stdout: XYZstderr: declare -l lower ^~~~~~~ [ stdin ]:1: Warning: OSH doesn't implement flags -l or -u (shopt --set ignore_flags_not_impl) |
| osh | 365 6.5 Arithmetic: Unary Plus/Minus [osh stdout] Expected '1\n-1\n1\n' Got '1\n-1\n-1\n' stdout: 1 -1 -1stderr: |
| osh-cpp | 365 6.5 Arithmetic: Unary Plus/Minus [osh-cpp stdout] Expected '1\n-1\n1\n' Got '1\n-1\n-1\n' stdout: 1 -1 -1stderr: |
| osh | 369 3.7.4 Environment: Function-local assignment persistence [osh stdout] Expected 'inside: temp\noutside: original\n' Got '' [osh status] Expected 0 Got 2 stdout: stderr: func() { echo "inside: $var"; }
^~~~
[ stdin ]:1: func is a YSH keyword, but this is OSH.
|
| osh-cpp | 369 3.7.4 Environment: Function-local assignment persistence [osh-cpp stdout] Expected 'inside: temp\noutside: original\n' Got '' [osh-cpp status] Expected 0 Got 2 stdout: stderr: func() { echo "inside: $var"; }
^~~~
[ stdin ]:1: func is a YSH keyword, but this is OSH.
|
| osh | 378 4.2 Builtins: let (Arithmetic) [osh stdout] Expected '2 4\nstatus: 1\nstatus: 0\n' Got ' \nstatus: 127\nstatus: 127\n' stdout: status: 127 status: 127stderr: let "x = 1 + 1" "y = x * 2" ^~~ [ stdin ]:1: Command 'let' not found (OILS-ERR-100) let "z = 0" ^~~ [ stdin ]:3: Command 'let' not found (OILS-ERR-100) let "z = 1" ^~~ [ stdin ]:5: Command 'let' not found (OILS-ERR-100) |
| osh-cpp | 378 4.2 Builtins: let (Arithmetic) [osh-cpp stdout] Expected '2 4\nstatus: 1\nstatus: 0\n' Got ' \nstatus: 127\nstatus: 127\n' stdout: status: 127 status: 127stderr: let "x = 1 + 1" "y = x * 2" ^~~ [ stdin ]:1: Command 'let' not found (OILS-ERR-100) let "z = 0" ^~~ [ stdin ]:3: Command 'let' not found (OILS-ERR-100) let "z = 1" ^~~ [ stdin ]:5: Command 'let' not found (OILS-ERR-100) |
| osh | 383 4.2 Builtins: enable -n (Disable Builtin) [osh stdout] Expected 'disabled\n' Got '' [osh status] Expected 0 Got 1 stdout: stderr: enable -n echo
^~~~~~
[ stdin ]:2: Command 'enable' not found (OILS-ERR-100)
|
| osh-cpp | 383 4.2 Builtins: enable -n (Disable Builtin) [osh-cpp stdout] Expected 'disabled\n' Got '' [osh-cpp status] Expected 0 Got 1 stdout: stderr: enable -n echo
^~~~~~
[ stdin ]:2: Command 'enable' not found (OILS-ERR-100)
|
| osh | 384 4.2 Builtins: enable -a (List) [osh stdout] Expected 'found enable\n' Got '' [osh status] Expected 0 Got 1 stdout: stderr: enable -a | grep -q "enable" && echo "found enable" ^~~~~~ [ stdin ]:1: Command 'enable' not found (OILS-ERR-100) |
| osh-cpp | 384 4.2 Builtins: enable -a (List) [osh-cpp stdout] Expected 'found enable\n' Got '' [osh-cpp status] Expected 0 Got 1 stdout: stderr: enable -a | grep -q "enable" && echo "found enable" ^~~~~~ [ stdin ]:1: Command 'enable' not found (OILS-ERR-100) |
| osh | 385 4.2 Builtins: typeset (Synonym) [osh stdout] Expected '10 20\n' Got ' 20\n' stdout: 20stderr: typeset -i x=10 ^~~~~~~ [ stdin ]:1: 'typeset' doesn't implement flag -i (shopt --set ignore_flags_not_impl) |
| osh-cpp | 385 4.2 Builtins: typeset (Synonym) [osh-cpp stdout] Expected '10 20\n' Got ' 20\n' stdout: 20stderr: typeset -i x=10 ^~~~~~~ [ stdin ]:1: 'typeset' doesn't implement flag -i (shopt --set ignore_flags_not_impl) |
| osh | 389 4.2 Builtins: kill -l (Exit Status Conversion) [osh stdout] Expected 'found INT\n' Got '' [osh status] Expected 0 Got 1 stdout: stderr: kill -l 130 | grep -E "INT|SIGINT" >/dev/null && echo "found INT"
^~~
[ stdin ]:1: 'kill' can't translate number '130' to a name
|
| osh-cpp | 389 4.2 Builtins: kill -l (Exit Status Conversion) [osh-cpp stdout] Expected 'found INT\n' Got '' [osh-cpp status] Expected 0 Got 1 stdout: stderr: kill -l 130 | grep -E "INT|SIGINT" >/dev/null && echo "found INT"
^~~
[ stdin ]:1: 'kill' can't translate number '130' to a name
|
| osh | 390 5.2 Bash Variables: TIMEFORMAT [osh stdout] Expected 'formatted\n' Got '' [osh status] Expected 0 Got 1 stdout: stderr: |
| osh-cpp | 390 5.2 Bash Variables: TIMEFORMAT [osh-cpp stdout] Expected 'formatted\n' Got '' [osh-cpp status] Expected 0 Got 1 stdout: stderr: |
| osh | 394 3.2.3 Pipelines: Variable Persistence [osh stdout] Expected '0\n' Got '1\n' stdout: 1stderr: |
| osh-cpp | 394 3.2.3 Pipelines: Variable Persistence [osh-cpp stdout] Expected '0\n' Got '1\n' stdout: 1stderr: |
| osh | 395 3.2.3 Pipelines: While Loop Side Effects [osh stdout] Expected '0\n' Got '2\n' stdout: 2stderr: |
| osh-cpp | 395 3.2.3 Pipelines: While Loop Side Effects [osh-cpp stdout] Expected '0\n' Got '2\n' stdout: 2stderr: |