status | bash | dash | ash | zsh | mksh | ksh | toysh | sush | brush | osh | |
pass | 29 | 0 | 0 | 2 | 22 | 26 | 1 | 23 | 28 | 25 | |
N-I | 0 | 0 | 0 | 0 | 3 | 2 | 0 | 0 | 0 | 1 | |
BUG | 0 | 0 | 0 | 0 | 4 | 1 | 0 | 0 | 0 | 0 | |
FAIL | 0 | 29 | 29 | 27 | 0 | 0 | 28 | 6 | 1 | 3 | |
total | 29 | 29 | 29 | 29 | 29 | 29 | 29 | 29 | 29 | 29 | |
case | bash | dash | ash | zsh | mksh | ksh | toysh | sush | brush | osh | description |
0 | pass | FAIL | FAIL | FAIL | pass | pass | FAIL | pass | pass | pass | @ matches exactly one |
details | details | details | details | ||||||||
1 | pass | FAIL | FAIL | FAIL | pass | pass | FAIL | pass | pass | pass | @() with variable arms |
details | details | details | details | ||||||||
2 | pass | FAIL | FAIL | FAIL | N-I | pass | FAIL | pass | pass | FAIL | extglob in variable |
details | details | details | details | details | details | ||||||
3 | pass | FAIL | FAIL | FAIL | pass | pass | FAIL | FAIL | pass | pass | Matching literal '@(cc)' |
details | details | details | details | details | |||||||
4 | pass | FAIL | FAIL | FAIL | BUG | pass | FAIL | pass | pass | pass | nested @() |
details | details | details | details | details | |||||||
5 | pass | FAIL | FAIL | FAIL | pass | pass | FAIL | FAIL | pass | pass | nested @() with quotes and vars |
details | details | details | details | details | |||||||
6 | pass | FAIL | FAIL | FAIL | pass | pass | FAIL | pass | pass | pass | ? matches 0 or 1 |
details | details | details | details | ||||||||
7 | pass | FAIL | FAIL | FAIL | pass | pass | FAIL | pass | pass | pass | + matches 1 or more |
details | details | details | details | ||||||||
8 | pass | FAIL | FAIL | FAIL | pass | pass | FAIL | pass | pass | pass | * matches 0 or more |
details | details | details | details | ||||||||
9 | pass | FAIL | FAIL | FAIL | pass | pass | FAIL | pass | pass | pass | simple repetition with *(foo) and +(Foo) |
details | details | details | details | ||||||||
10 | pass | FAIL | FAIL | FAIL | pass | pass | FAIL | pass | pass | pass | ! matches none |
details | details | details | details | ||||||||
11 | pass | FAIL | FAIL | FAIL | pass | pass | FAIL | pass | pass | pass | match is anchored |
details | details | details | details | ||||||||
12 | pass | FAIL | FAIL | FAIL | pass | pass | FAIL | pass | pass | pass | repeated match is anchored |
details | details | details | details | ||||||||
13 | pass | FAIL | FAIL | FAIL | pass | pass | FAIL | pass | pass | pass | repetition with glob |
details | details | details | details | ||||||||
14 | pass | FAIL | FAIL | FAIL | pass | pass | FAIL | pass | pass | pass | No brace expansion in == |
details | details | details | details | ||||||||
15 | pass | FAIL | FAIL | FAIL | pass | pass | FAIL | pass | pass | pass | adjacent extglob |
details | details | details | details | ||||||||
16 | pass | FAIL | FAIL | FAIL | pass | pass | FAIL | pass | pass | pass | nested extglob |
details | details | details | details | ||||||||
17 | pass | FAIL | FAIL | FAIL | pass | pass | FAIL | pass | pass | pass | extglob empty string |
details | details | details | details | ||||||||
18 | pass | FAIL | FAIL | FAIL | pass | pass | FAIL | pass | pass | pass | extglob empty pattern |
details | details | details | details | ||||||||
19 | pass | FAIL | FAIL | FAIL | pass | pass | FAIL | FAIL | pass | pass | case with extglob |
details | details | details | details | details | |||||||
20 | pass | FAIL | FAIL | FAIL | pass | pass | FAIL | FAIL | pass | pass | [[ $x == !($str) ]] |
details | details | details | details | details | |||||||
21 | pass | FAIL | FAIL | FAIL | N-I | N-I | FAIL | FAIL | FAIL | FAIL | Turning extglob on changes the meaning of [[ !(str) ]] in bash |
details | details | details | details | details | details | details | details | details | |||
22 | pass | FAIL | FAIL | FAIL | pass | pass | FAIL | FAIL | pass | pass | With extglob on, !($str) on the left or right of == has different meanings |
details | details | details | details | details | |||||||
23 | pass | FAIL | FAIL | FAIL | BUG | BUG | FAIL | pass | pass | FAIL | extglob inside arg word |
details | details | details | details | details | details | details | |||||
24 | pass | FAIL | FAIL | pass | N-I | N-I | pass | pass | pass | pass | extglob is not detected in regex! |
details | details | details | details | ||||||||
25 | pass | FAIL | FAIL | pass | BUG | pass | FAIL | pass | pass | pass | regular glob of single unicode char |
details | details | details | details | ||||||||
26 | pass | FAIL | FAIL | FAIL | BUG | pass | FAIL | pass | pass | pass | extended glob of single unicode char |
details | details | details | details | details | |||||||
27 | pass | FAIL | FAIL | FAIL | pass | pass | FAIL | pass | pass | N-I | Extended glob in ${x//pat/replace} |
details | details | details | details | details | |||||||
28 | pass | FAIL | FAIL | FAIL | pass | pass | FAIL | pass | pass | pass | Extended glob in ${x%PATTERN} |
details | details | details | details |
156 passed, 0 OK, 6 not implemented, 5 BUG, 123 failed, 0 timeouts, 0 cases skipped 3 failed under osh
dash | 0 @ matches exactly one [dash stdout] Expected 'TRUE\nFALSE\n', got '' [dash status] Expected 0, got 2 stdout: stderr: dash: 1: shopt: not found dash: 2: Syntax error: "(" unexpected |
ash | 0 @ matches exactly one [ash stdout] Expected 'TRUE\nFALSE\n', got '' [ash status] Expected 0, got 2 stdout: stderr: ash: shopt: not found ash: syntax error: unexpected "(" |
zsh | 0 @ matches exactly one [zsh stdout] Expected 'TRUE\nFALSE\n', got 'FALSE\n' stdout: FALSEstderr: zsh: command not found: shopt |
toysh | 0 @ matches exactly one [toysh stdout] Expected 'TRUE\nFALSE\n', got 'FALSE\n' stdout: FALSEstderr: sh: shopt: No such file or directory |
dash | 1 @() with variable arms [dash stdout] Expected 'TRUE\nFALSE\n', got '' [dash status] Expected 0, got 2 stdout: stderr: dash: 1: shopt: not found dash: 4: Syntax error: "(" unexpected |
ash | 1 @() with variable arms [ash stdout] Expected 'TRUE\nFALSE\n', got '' [ash status] Expected 0, got 2 stdout: stderr: ash: shopt: not found ash: syntax error: unexpected "(" |
zsh | 1 @() with variable arms [zsh stdout] Expected 'TRUE\nFALSE\n', got 'FALSE\n' stdout: FALSEstderr: zsh: command not found: shopt |
toysh | 1 @() with variable arms [toysh stdout] Expected 'TRUE\nFALSE\n', got 'FALSE\n' stdout: FALSEstderr: sh: shopt: No such file or directory |
dash | 2 extglob in variable [dash stdout] Expected 'TRUE\nTRUE\nFALSE\nFALSE\nFALSE\n', got '' [dash status] Expected 0, got 2 stdout: stderr: dash: 1: shopt: not found dash: 3: Syntax error: "(" unexpected |
ash | 2 extglob in variable [ash stdout] Expected 'TRUE\nTRUE\nFALSE\nFALSE\nFALSE\n', got '' [ash status] Expected 0, got 2 stdout: stderr: ash: shopt: not found ash: syntax error: unexpected "(" |
zsh | 2 extglob in variable [zsh stdout] Expected 'TRUE\nTRUE\nFALSE\nFALSE\nFALSE\n', got 'FALSE\nFALSE\nFALSE\n' stdout: FALSE FALSE FALSEstderr: zsh: command not found: shopt |
mksh | 2 extglob in variable stdout: FALSE FALSE FALSEstderr: mksh: <stdin>[1]: shopt: not found |
toysh | 2 extglob in variable [toysh stdout] Expected 'TRUE\nTRUE\nFALSE\nFALSE\nFALSE\n', got 'FALSE\nFALSE\nFALSE\n' stdout: FALSE FALSE FALSEstderr: sh: shopt: No such file or directory [[: too many arguments [[: too many arguments |
osh | 2 extglob in variable [osh stdout] Expected 'TRUE\nTRUE\nFALSE\nFALSE\nFALSE\n', got '' [osh status] Expected 0, got 1 stdout: stderr: g=--@(help|verbose) ^~ [ stdin ]:3: fatal: extended glob not allowed in this word |
dash | 3 Matching literal '@(cc)' [dash stdout] Expected 'status=0\nstatus=1\nstatus=0\nstatus=1\n', got '' [dash status] Expected 0, got 2 stdout: stderr: dash: 1: Syntax error: "(" unexpected |
ash | 3 Matching literal '@(cc)' [ash stdout] Expected 'status=0\nstatus=1\nstatus=0\nstatus=1\n', got '' [ash status] Expected 0, got 2 stdout: stderr: ash: syntax error: unexpected "(" |
zsh | 3 Matching literal '@(cc)' [zsh stdout] Expected 'status=0\nstatus=1\nstatus=0\nstatus=1\n', got 'status=1\nstatus=1\nstatus=1\nstatus=1\n' stdout: status=1 status=1 status=1 status=1stderr: zsh: command not found: shopt |
toysh | 3 Matching literal '@(cc)' [toysh stdout] Expected 'status=0\nstatus=1\nstatus=0\nstatus=1\n', got 'status=1\nstatus=1\nstatus=1\nstatus=1\n' stdout: status=1 status=1 status=1 status=1stderr: sh: shopt: No such file or directory |
sush | 3 Matching literal '@(cc)' [sush stdout] Expected 'status=0\nstatus=1\nstatus=0\nstatus=1\n', got 'status=0\nstatus=0\nstatus=0\nstatus=0\n' stdout: status=0 status=0 status=0 status=0stderr: |
dash | 4 nested @() [dash stdout] Expected 'TRUE\nTRUE\nTRUE\nFALSE\n', got 'FALSE\n' stdout: FALSEstderr: dash: 1: shopt: not found dash: 3: [[: not found dash: 4: [[: not found dash: 5: [[: not found dash: 6: [[: not found |
ash | 4 nested @() [ash stdout] Expected 'TRUE\nTRUE\nTRUE\nFALSE\n', got 'FALSE\n' stdout: FALSEstderr: ash: shopt: not found |
zsh | 4 nested @() [zsh stdout] Expected 'TRUE\nTRUE\nTRUE\nFALSE\n', got 'FALSE\n' stdout: FALSEstderr: zsh: command not found: shopt |
mksh | 4 nested @() stdout: FALSEstderr: mksh: <stdin>[1]: shopt: not found |
toysh | 4 nested @() [toysh stdout] Expected 'TRUE\nTRUE\nTRUE\nFALSE\n', got 'FALSE\n' stdout: FALSEstderr: sh: shopt: No such file or directory |
dash | 5 nested @() with quotes and vars [dash stdout] Expected 'TRUE\n', got '' [dash status] Expected 0, got 2 stdout: stderr: dash: 1: shopt: not found dash: 3: Syntax error: "(" unexpected |
ash | 5 nested @() with quotes and vars [ash stdout] Expected 'TRUE\n', got '' [ash status] Expected 0, got 2 stdout: stderr: ash: shopt: not found ash: syntax error: unexpected "(" |
zsh | 5 nested @() with quotes and vars [zsh stdout] Expected 'TRUE\n', got '' [zsh status] Expected 0, got 1 stdout: stderr: zsh: command not found: shopt |
toysh | 5 nested @() with quotes and vars [toysh stdout] Expected 'TRUE\n', got '' [toysh status] Expected 0, got 1 stdout: stderr: sh: shopt: No such file or directory |
sush | 5 nested @() with quotes and vars [sush stdout] Expected 'TRUE\n', got '' [sush status] Expected 0, got 1 stdout: stderr: |
dash | 6 ? matches 0 or 1 [dash stdout] Expected 'TRUE\nFALSE\n', got '' [dash status] Expected 0, got 2 stdout: stderr: dash: 1: shopt: not found dash: 2: Syntax error: "(" unexpected |
ash | 6 ? matches 0 or 1 [ash stdout] Expected 'TRUE\nFALSE\n', got '' [ash status] Expected 0, got 2 stdout: stderr: ash: shopt: not found ash: syntax error: unexpected "(" |
zsh | 6 ? matches 0 or 1 [zsh stdout] Expected 'TRUE\nFALSE\n', got 'FALSE\n' stdout: FALSEstderr: zsh: command not found: shopt |
toysh | 6 ? matches 0 or 1 [toysh stdout] Expected 'TRUE\nFALSE\n', got 'FALSE\n' stdout: FALSEstderr: sh: shopt: No such file or directory |
dash | 7 + matches 1 or more [dash stdout] Expected 'TRUE\nFALSE\n', got '' [dash status] Expected 0, got 2 stdout: stderr: dash: 1: shopt: not found dash: 2: Syntax error: "(" unexpected |
ash | 7 + matches 1 or more [ash stdout] Expected 'TRUE\nFALSE\n', got '' [ash status] Expected 0, got 2 stdout: stderr: ash: shopt: not found ash: syntax error: unexpected "(" |
zsh | 7 + matches 1 or more [zsh stdout] Expected 'TRUE\nFALSE\n', got 'FALSE\n' stdout: FALSEstderr: zsh: command not found: shopt |
toysh | 7 + matches 1 or more [toysh stdout] Expected 'TRUE\nFALSE\n', got 'FALSE\n' stdout: FALSEstderr: sh: shopt: No such file or directory |
dash | 8 * matches 0 or more [dash stdout] Expected 'TRUE\nFALSE\n', got '' [dash status] Expected 0, got 2 stdout: stderr: dash: 1: shopt: not found dash: 2: Syntax error: "(" unexpected |
ash | 8 * matches 0 or more [ash stdout] Expected 'TRUE\nFALSE\n', got '' [ash status] Expected 0, got 2 stdout: stderr: ash: shopt: not found ash: syntax error: unexpected "(" |
zsh | 8 * matches 0 or more [zsh stdout] Expected 'TRUE\nFALSE\n', got 'FALSE\n' stdout: FALSEstderr: zsh: command not found: shopt |
toysh | 8 * matches 0 or more [toysh stdout] Expected 'TRUE\nFALSE\n', got 'FALSE\n' stdout: FALSEstderr: sh: shopt: No such file or directory |
dash | 9 simple repetition with *(foo) and +(Foo) [dash stdout] Expected 'TRUE\nTRUE\n', got '' [dash status] Expected 0, got 2 stdout: stderr: dash: 1: shopt: not found dash: 2: Syntax error: "(" unexpected |
ash | 9 simple repetition with *(foo) and +(Foo) [ash stdout] Expected 'TRUE\nTRUE\n', got '' [ash status] Expected 0, got 2 stdout: stderr: ash: shopt: not found ash: syntax error: unexpected "(" |
zsh | 9 simple repetition with *(foo) and +(Foo) [zsh stdout] Expected 'TRUE\nTRUE\n', got 'TRUE\n' [zsh status] Expected 0, got 1 stdout: TRUEstderr: zsh: command not found: shopt |
toysh | 9 simple repetition with *(foo) and +(Foo) [toysh stdout] Expected 'TRUE\nTRUE\n', got '' [toysh status] Expected 0, got 1 stdout: stderr: sh: shopt: No such file or directory |
dash | 10 ! matches none [dash stdout] Expected 'TRUE\nFALSE\n', got '' [dash status] Expected 0, got 2 stdout: stderr: dash: 1: shopt: not found dash: 2: Syntax error: "(" unexpected |
ash | 10 ! matches none [ash stdout] Expected 'TRUE\nFALSE\n', got '' [ash status] Expected 0, got 2 stdout: stderr: ash: shopt: not found ash: syntax error: unexpected "(" |
zsh | 10 ! matches none [zsh stdout] Expected 'TRUE\nFALSE\n', got 'FALSE\n' stdout: FALSEstderr: zsh: command not found: shopt |
toysh | 10 ! matches none [toysh stdout] Expected 'TRUE\nFALSE\n', got 'FALSE\n' stdout: FALSEstderr: sh: shopt: No such file or directory |
dash | 11 match is anchored [dash stdout] Expected 'FALSE\nFALSE\nTRUE\n', got '' [dash status] Expected 0, got 2 stdout: stderr: dash: 1: shopt: not found dash: 2: Syntax error: "(" unexpected |
ash | 11 match is anchored [ash stdout] Expected 'FALSE\nFALSE\nTRUE\n', got '' [ash status] Expected 0, got 2 stdout: stderr: ash: shopt: not found ash: syntax error: unexpected "(" |
zsh | 11 match is anchored [zsh stdout] Expected 'FALSE\nFALSE\nTRUE\n', got 'FALSE\nFALSE\n' [zsh status] Expected 0, got 1 stdout: FALSE FALSEstderr: zsh: command not found: shopt |
toysh | 11 match is anchored [toysh stdout] Expected 'FALSE\nFALSE\nTRUE\n', got 'FALSE\nFALSE\n' [toysh status] Expected 0, got 1 stdout: FALSE FALSEstderr: sh: shopt: No such file or directory |
dash | 12 repeated match is anchored [dash stdout] Expected 'FALSE\nFALSE\nTRUE\n', got '' [dash status] Expected 0, got 2 stdout: stderr: dash: 1: shopt: not found dash: 2: Syntax error: "(" unexpected |
ash | 12 repeated match is anchored [ash stdout] Expected 'FALSE\nFALSE\nTRUE\n', got '' [ash status] Expected 0, got 2 stdout: stderr: ash: shopt: not found ash: syntax error: unexpected "(" |
zsh | 12 repeated match is anchored [zsh stdout] Expected 'FALSE\nFALSE\nTRUE\n', got 'FALSE\nFALSE\n' [zsh status] Expected 0, got 1 stdout: FALSE FALSEstderr: zsh: command not found: shopt |
toysh | 12 repeated match is anchored [toysh stdout] Expected 'FALSE\nFALSE\nTRUE\n', got 'FALSE\nFALSE\n' [toysh status] Expected 0, got 1 stdout: FALSE FALSEstderr: sh: shopt: No such file or directory |
dash | 13 repetition with glob [dash stdout] Expected 'TRUE\nFALSE\n', got '' [dash status] Expected 0, got 2 stdout: stderr: dash: 1: shopt: not found dash: 3: Syntax error: "(" unexpected |
ash | 13 repetition with glob [ash stdout] Expected 'TRUE\nFALSE\n', got '' [ash status] Expected 0, got 2 stdout: stderr: ash: shopt: not found ash: syntax error: unexpected "(" |
zsh | 13 repetition with glob [zsh stdout] Expected 'TRUE\nFALSE\n', got 'TRUE\n' stdout: TRUEstderr: zsh: command not found: shopt |
toysh | 13 repetition with glob [toysh stdout] Expected 'TRUE\nFALSE\n', got 'FALSE\n' stdout: FALSEstderr: sh: shopt: No such file or directory |
dash | 14 No brace expansion in == [dash stdout] Expected 'TRUE\nFALSE\n', got '' [dash status] Expected 0, got 2 stdout: stderr: dash: 1: shopt: not found dash: 3: Syntax error: "(" unexpected |
ash | 14 No brace expansion in == [ash stdout] Expected 'TRUE\nFALSE\n', got '' [ash status] Expected 0, got 2 stdout: stderr: ash: shopt: not found ash: syntax error: unexpected "(" |
zsh | 14 No brace expansion in == [zsh stdout] Expected 'TRUE\nFALSE\n', got 'FALSE\n' stdout: FALSEstderr: zsh: command not found: shopt |
toysh | 14 No brace expansion in == [toysh stdout] Expected 'TRUE\nFALSE\n', got 'FALSE\n' stdout: FALSEstderr: sh: shopt: No such file or directory [[: too many arguments |
dash | 15 adjacent extglob [dash stdout] Expected 'TRUE\nTRUE\n', got '' [dash status] Expected 0, got 2 stdout: stderr: dash: 1: shopt: not found dash: 3: Syntax error: "(" unexpected |
ash | 15 adjacent extglob [ash stdout] Expected 'TRUE\nTRUE\n', got '' [ash status] Expected 0, got 2 stdout: stderr: ash: shopt: not found ash: syntax error: unexpected "(" |
zsh | 15 adjacent extglob [zsh stdout] Expected 'TRUE\nTRUE\n', got '' [zsh status] Expected 0, got 1 stdout: stderr: zsh: command not found: shopt |
toysh | 15 adjacent extglob [toysh stdout] Expected 'TRUE\nTRUE\n', got '' [toysh status] Expected 0, got 1 stdout: stderr: sh: shopt: No such file or directory |
dash | 16 nested extglob [dash stdout] Expected 'TRUE\nTRUE\nTRUE\nFALSE\n', got '' [dash status] Expected 0, got 2 stdout: stderr: dash: 1: shopt: not found dash: 3: Syntax error: "(" unexpected |
ash | 16 nested extglob [ash stdout] Expected 'TRUE\nTRUE\nTRUE\nFALSE\n', got '' [ash status] Expected 0, got 2 stdout: stderr: ash: shopt: not found ash: syntax error: unexpected "(" |
zsh | 16 nested extglob [zsh stdout] Expected 'TRUE\nTRUE\nTRUE\nFALSE\n', got 'FALSE\n' stdout: FALSEstderr: zsh: command not found: shopt |
toysh | 16 nested extglob [toysh stdout] Expected 'TRUE\nTRUE\nTRUE\nFALSE\n', got 'FALSE\n' stdout: FALSEstderr: sh: shopt: No such file or directory |
dash | 17 extglob empty string [dash stdout] Expected 'FALSE\nTRUE\n', got '' [dash status] Expected 0, got 2 stdout: stderr: dash: 1: shopt: not found dash: 2: Syntax error: "(" unexpected |
ash | 17 extglob empty string [ash stdout] Expected 'FALSE\nTRUE\n', got '' [ash status] Expected 0, got 2 stdout: stderr: ash: shopt: not found ash: syntax error: unexpected "(" |
zsh | 17 extglob empty string [zsh stdout] Expected 'FALSE\nTRUE\n', got 'FALSE\n' [zsh status] Expected 0, got 1 stdout: FALSEstderr: zsh: command not found: shopt |
toysh | 17 extglob empty string [toysh stdout] Expected 'FALSE\nTRUE\n', got 'FALSE\n' [toysh status] Expected 0, got 1 stdout: FALSEstderr: sh: shopt: No such file or directory |
dash | 18 extglob empty pattern [dash stdout] Expected 'TRUE\nTRUE\nFALSE\nFALSE\n', got '' [dash status] Expected 0, got 2 stdout: stderr: dash: 1: shopt: not found dash: 2: Syntax error: "(" unexpected |
ash | 18 extglob empty pattern [ash stdout] Expected 'TRUE\nTRUE\nFALSE\nFALSE\n', got '' [ash status] Expected 0, got 2 stdout: stderr: ash: shopt: not found ash: syntax error: unexpected "(" |
zsh | 18 extglob empty pattern [zsh stdout] Expected 'TRUE\nTRUE\nFALSE\nFALSE\n', got 'FALSE\n' stdout: FALSEstderr: zsh: command not found: shopt zsh: parse error near `()' zsh: parse error near `()' |
toysh | 18 extglob empty pattern [toysh stdout] Expected 'TRUE\nTRUE\nFALSE\nFALSE\n', got 'FALSE\nFALSE\n' stdout: FALSE FALSEstderr: sh: shopt: No such file or directory |
dash | 19 case with extglob [dash stdout] Expected 'A\nA\nU\nB\nC\nD\n', got '' [dash status] Expected 0, got 2 stdout: stderr: dash: 1: shopt: not found dash: 4: Syntax error: "(" unexpected (expecting ")") |
ash | 19 case with extglob [ash stdout] Expected 'A\nA\nU\nB\nC\nD\n', got '' [ash status] Expected 0, got 2 stdout: stderr: ash: shopt: not found ash: syntax error: unexpected "(" (expecting ")") |
zsh | 19 case with extglob [zsh stdout] Expected 'A\nA\nU\nB\nC\nD\n', got 'U\nU\nU\nU\nD\nU\n' stdout: U U U U D Ustderr: zsh: command not found: shopt |
toysh | 19 case with extglob [toysh stdout] Expected 'A\nA\nU\nB\nC\nD\n', got 'U\n' [toysh status] Expected 0, got -6 stdout: Ustderr: sh: shopt: No such file or directory free(): invalid pointer |
sush | 19 case with extglob [sush stdout] Expected 'A\nA\nU\nB\nC\nD\n', got 'A\nU\nC\n' stdout: A U Cstderr: |
dash | 20 [[ $x == !($str) ]] [dash stdout] Expected 'TRUE\nFALSE\n', got '' [dash status] Expected 0, got 2 stdout: stderr: dash: 1: shopt: not found dash: 4: Syntax error: "(" unexpected |
ash | 20 [[ $x == !($str) ]] [ash stdout] Expected 'TRUE\nFALSE\n', got '' [ash status] Expected 0, got 2 stdout: stderr: ash: shopt: not found ash: syntax error: unexpected "(" |
zsh | 20 [[ $x == !($str) ]] [zsh stdout] Expected 'TRUE\nFALSE\n', got 'FALSE\n' stdout: FALSEstderr: zsh: command not found: shopt |
toysh | 20 [[ $x == !($str) ]] [toysh stdout] Expected 'TRUE\nFALSE\n', got 'FALSE\n' stdout: FALSEstderr: sh: shopt: No such file or directory [[: too many arguments |
sush | 20 [[ $x == !($str) ]] [sush stdout] Expected 'TRUE\nFALSE\n', got 'FALSE\n' stdout: FALSEstderr: |
dash | 21 Turning extglob on changes the meaning of [[ !(str) ]] in bash [dash stdout] Expected 'TRUE\nFALSE\nTRUE\nTRUE\n', got '' [dash status] Expected 0, got 2 stdout: stderr: dash: 3: Syntax error: "(" unexpected |
ash | 21 Turning extglob on changes the meaning of [[ !(str) ]] in bash [ash stdout] Expected 'TRUE\nFALSE\nTRUE\nTRUE\n', got '' [ash status] Expected 0, got 2 stdout: stderr: ash: syntax error: unexpected "(" |
zsh | 21 Turning extglob on changes the meaning of [[ !(str) ]] in bash [zsh stdout] Expected 'TRUE\nFALSE\nTRUE\nTRUE\n', got 'TRUE\nTRUE\nTRUE\n' stdout: TRUE TRUE TRUEstderr: zsh: command not found: shopt |
mksh | 21 Turning extglob on changes the meaning of [[ !(str) ]] in bash stdout: TRUE TRUE TRUEstderr: mksh: <stdin>[5]: shopt: not found |
ksh | 21 Turning extglob on changes the meaning of [[ !(str) ]] in bash stdout: TRUE TRUE TRUEstderr: E: ksh: <stdin>[5]: shopt: inaccessible or not found |
toysh | 21 Turning extglob on changes the meaning of [[ !(str) ]] in bash [toysh stdout] Expected 'TRUE\nFALSE\nTRUE\nTRUE\n', got 'TRUE\nTRUE\nTRUE\n' stdout: TRUE TRUE TRUEstderr: sh: shopt: No such file or directory |
sush | 21 Turning extglob on changes the meaning of [[ !(str) ]] in bash [sush stdout] Expected 'TRUE\nFALSE\nTRUE\nTRUE\n', got 'TRUE\nFALSE\nTRUE\n' [sush status] Expected 0, got 1 stdout: TRUE FALSE TRUEstderr: |
brush | 21 Turning extglob on changes the meaning of [[ !(str) ]] in bash [brush stdout] Expected 'TRUE\nFALSE\nTRUE\nTRUE\n', got 'TRUE\nTRUE\nTRUE\n' stdout: TRUE TRUE TRUEstderr: |
osh | 21 Turning extglob on changes the meaning of [[ !(str) ]] in bash [osh stdout] Expected 'TRUE\nFALSE\nTRUE\nTRUE\n', got '' [osh status] Expected 0, got 1 stdout: stderr: [[ !($empty) ]] && echo TRUE # test if $empty is empty ^~ [ stdin ]:3: fatal: extended glob not allowed in this word |
dash | 22 With extglob on, !($str) on the left or right of == has different meanings [dash stdout] Expected 'TRUE\n', got '' [dash status] Expected 0, got 2 stdout: stderr: dash: 1: shopt: not found dash: 3: Syntax error: "(" unexpected |
ash | 22 With extglob on, !($str) on the left or right of == has different meanings [ash stdout] Expected 'TRUE\n', got '' [ash status] Expected 0, got 2 stdout: stderr: ash: shopt: not found ash: syntax error: unexpected "(" |
zsh | 22 With extglob on, !($str) on the left or right of == has different meanings [zsh stdout] Expected 'TRUE\n', got '' [zsh status] Expected 0, got 1 stdout: stderr: zsh: command not found: shopt |
toysh | 22 With extglob on, !($str) on the left or right of == has different meanings [toysh stdout] Expected 'TRUE\n', got '' [toysh status] Expected 0, got 1 stdout: stderr: sh: shopt: No such file or directory |
sush | 22 With extglob on, !($str) on the left or right of == has different meanings [sush stdout] Expected 'TRUE\n', got '' [sush status] Expected 0, got 2 stdout: stderr: |
dash | 23 extglob inside arg word [dash stdout] Expected 'rhs\nrhs arg\nnope\n', got '' [dash status] Expected 0, got 2 stdout: stderr: dash: 1: shopt: not found dash: 2: Syntax error: "(" unexpected |
ash | 23 extglob inside arg word [ash stdout] Expected 'rhs\nrhs arg\nnope\n', got '' [ash status] Expected 0, got 2 stdout: stderr: ash: shopt: not found ash: syntax error: unexpected "(" |
zsh | 23 extglob inside arg word [zsh stdout] Expected 'rhs\nrhs arg\nnope\n', got 'nope\n' stdout: nopestderr: zsh: command not found: shopt |
mksh | 23 extglob inside arg word stdout: rhs nopestderr: mksh: <stdin>[1]: shopt: not found |
ksh | 23 extglob inside arg word stdout: rhs nopestderr: E: ksh: <stdin>[1]: shopt: inaccessible or not found |
toysh | 23 extglob inside arg word [toysh stdout] Expected 'rhs\nrhs arg\nnope\n', got 'nope\n' stdout: nopestderr: sh: shopt: No such file or directory |
osh | 23 extglob inside arg word [osh stdout] Expected 'rhs\nrhs arg\nnope\n', got 'rhs\n' [osh status] Expected 0, got 1 stdout: rhsstderr: [[ foo == ${unset:-@(foo|bar)} ]] && echo 'rhs arg' ^~ [ stdin ]:3: fatal: Extended glob not allowed in this word |
dash | 24 extglob is not detected in regex! [dash stdout] Expected 'FALSE\n', got '' [dash status] Expected 0, got 2 stdout: stderr: dash: 1: shopt: not found dash: 2: Syntax error: "(" unexpected |
ash | 24 extglob is not detected in regex! [ash stdout] Expected 'FALSE\n', got '' [ash status] Expected 0, got 2 stdout: stderr: ash: shopt: not found ash: syntax error: unexpected "(" |
mksh | 24 extglob is not detected in regex! stdout: stderr: mksh: <stdin>[1]: shopt: not found mksh: <stdin>[2]: syntax error: '=~' unexpected operator/operand |
ksh | 24 extglob is not detected in regex! stdout: stderr: E: ksh: <stdin>[1]: shopt: inaccessible or not found E: ksh: <stdin>[2]: syntax error: unexpected operator/operand '=~' |
dash | 25 regular glob of single unicode char [dash stdout] Expected '0\n0\n', got '127\n127\n' stdout: 127 127stderr: dash: 1: shopt: not found dash: 2: [[: not found dash: 4: [[: not found |
ash | 25 regular glob of single unicode char [ash stdout] Expected '0\n0\n', got '0\n1\n' stdout: 0 1stderr: ash: shopt: not found |
mksh | 25 regular glob of single unicode char stdout: 0 1stderr: mksh: <stdin>[1]: shopt: not found |
toysh | 25 regular glob of single unicode char [toysh stdout] Expected '0\n0\n', got '1\n1\n' stdout: 1 1stderr: sh: shopt: No such file or directory |
dash | 26 extended glob of single unicode char [dash stdout] Expected '0\n0\n', got '' [dash status] Expected 0, got 2 stdout: stderr: dash: 1: shopt: not found dash: 2: Syntax error: "(" unexpected |
ash | 26 extended glob of single unicode char [ash stdout] Expected '0\n0\n', got '' [ash status] Expected 0, got 2 stdout: stderr: ash: shopt: not found ash: syntax error: unexpected "(" |
zsh | 26 extended glob of single unicode char [zsh stdout] Expected '0\n0\n', got '1\n1\n' stdout: 1 1stderr: zsh: command not found: shopt |
mksh | 26 extended glob of single unicode char stdout: 0 1stderr: mksh: <stdin>[1]: shopt: not found |
toysh | 26 extended glob of single unicode char [toysh stdout] Expected '0\n0\n', got '1\n1\n' stdout: 1 1stderr: sh: shopt: No such file or directory |
dash | 27 Extended glob in ${x//pat/replace} [dash stdout] Expected 'foZ\n', got '' [dash status] Expected 0, got 2 stdout: stderr: dash: 1: shopt: not found dash: 3: Bad substitution |
ash | 27 Extended glob in ${x//pat/replace} [ash stdout] Expected 'foZ\n', got 'foo.py\n' stdout: foo.pystderr: ash: shopt: not found |
zsh | 27 Extended glob in ${x//pat/replace} [zsh stdout] Expected 'foZ\n', got 'foo.py\n' stdout: foo.pystderr: zsh: command not found: shopt |
toysh | 27 Extended glob in ${x//pat/replace} [toysh stdout] Expected 'foZ\n', got 'foo.py\n' stdout: foo.pystderr: sh: shopt: No such file or directory |
osh | 27 Extended glob in ${x//pat/replace} stdout: stderr: echo ${x//@(?.py)/Z} ^~ [ stdin ]:3: fatal: extended globs not supported in ${x//GLOB/} |
dash | 28 Extended glob in ${x%PATTERN} [dash stdout] Expected 'strip % foo\nstrip %% foo\nstrip # .py\nstrip ## .py\n' Got 'strip % foo.py\nstrip %% foo.py\nstrip # foo.py\nstrip ## foo.py\n' stdout: strip % foo.py strip %% foo.py strip # foo.py strip ## foo.pystderr: dash: 1: shopt: not found |
ash | 28 Extended glob in ${x%PATTERN} [ash stdout] Expected 'strip % foo\nstrip %% foo\nstrip # .py\nstrip ## .py\n' Got 'strip % foo.py\nstrip %% foo.py\nstrip # foo.py\nstrip ## foo.py\n' stdout: strip % foo.py strip %% foo.py strip # foo.py strip ## foo.pystderr: ash: shopt: not found |
zsh | 28 Extended glob in ${x%PATTERN} [zsh stdout] Expected 'strip % foo\nstrip %% foo\nstrip # .py\nstrip ## .py\n' Got 'strip % foo.py\nstrip %% foo.py\nstrip # foo.py\nstrip ## foo.py\n' stdout: strip % foo.py strip %% foo.py strip # foo.py strip ## foo.pystderr: zsh: command not found: shopt |
toysh | 28 Extended glob in ${x%PATTERN} [toysh stdout] Expected 'strip % foo\nstrip %% foo\nstrip # .py\nstrip ## .py\n' Got 'strip % foo.py\nstrip %% foo.py\nstrip # foo.py\nstrip ## foo.py\n' stdout: strip % foo.py strip %% foo.py strip # foo.py strip ## foo.pystderr: sh: shopt: No such file or directory |