spec test index / oilshell.org
24 passed, 15 OK, 0 not implemented, 0 BUG, 15 failed, 0 timeouts, 0 cases skipped 5 failed under osh
osh | 2 Case Folding of Unicode Characters [osh stdout] Expected 'u \xc3\x80\xc3\x88\nU \xc3\x80\xc3\x88\nl \xc3\xa0\xc3\x88\nL \xc3\xa0\xc3\xa8\nu \xc3\x81\xc3\xa9\nU \xc3\x81\xc3\x89\nl \xc3\xa1\xc3\xa9\nL \xc3\xa1\xc3\xa9\n', got 'u \xc3\x80\xc3\x88\nU \xc3\x80\xc3\x88\nl \xc3\x80\xc3\x88\nL \xc3\x80\xc3\x88\nu \xc3\xa1\xc3\xa9\nU \xc3\xa1\xc3\xa9\nl \xc3\xa1\xc3\xa9\nL \xc3\xa1\xc3\xa9\n' stdout: u ÀÈ U ÀÈ l ÀÈ L ÀÈ u áé U áé l áé L áéstderr: |
osh_.py | 2 Case Folding of Unicode Characters [osh_.py stdout] Expected 'u \xc3\x80\xc3\x88\nU \xc3\x80\xc3\x88\nl \xc3\xa0\xc3\x88\nL \xc3\xa0\xc3\xa8\nu \xc3\x81\xc3\xa9\nU \xc3\x81\xc3\x89\nl \xc3\xa1\xc3\xa9\nL \xc3\xa1\xc3\xa9\n', got 'u \xc3\x80\xc3\x88\nU \xc3\x80\xc3\x88\nl \xc3\x80\xc3\x88\nL \xc3\x80\xc3\x88\nu \xc3\xa1\xc3\xa9\nU \xc3\xa1\xc3\xa9\nl \xc3\xa1\xc3\xa9\nL \xc3\xa1\xc3\xa9\n' stdout: u ÀÈ U ÀÈ l ÀÈ L ÀÈ u áé U áé l áé L áéstderr: |
osh_.cc | 2 Case Folding of Unicode Characters [osh_.cc stdout] Expected 'u \xc3\x80\xc3\x88\nU \xc3\x80\xc3\x88\nl \xc3\xa0\xc3\x88\nL \xc3\xa0\xc3\xa8\nu \xc3\x81\xc3\xa9\nU \xc3\x81\xc3\x89\nl \xc3\xa1\xc3\xa9\nL \xc3\xa1\xc3\xa9\n', got 'u \xc3\x80\xc3\x88\nU \xc3\x80\xc3\x88\nl \xc3\x80\xc3\x88\nL \xc3\x80\xc3\x88\nu \xc3\xa1\xc3\xa9\nU \xc3\xa1\xc3\xa9\nl \xc3\xa1\xc3\xa9\nL \xc3\xa1\xc3\xa9\n' stdout: u ÀÈ U ÀÈ l ÀÈ L ÀÈ u áé U áé l áé L áéstderr: |
osh | 3 Lower Case with constant string (VERY WEIRD) [osh stdout] Expected 'aAA ABC DEF\naaa aBC DEF\n', got '' [osh status] Expected 0, got 1 stdout: stderr: echo ${x,A} ^ [ stdin ]:2: fatal: Id.VOp1_Comma can't have an argument |
osh_.py | 3 Lower Case with constant string (VERY WEIRD) [osh_.py stdout] Expected 'aAA ABC DEF\naaa aBC DEF\n', got '' [osh_.py status] Expected 0, got 1 stdout: stderr: echo ${x,A} ^ [ stdin ]:2: fatal: Id.VOp1_Comma can't have an argument |
osh_.cc | 3 Lower Case with constant string (VERY WEIRD) [osh_.cc stdout] Expected 'aAA ABC DEF\naaa aBC DEF\n', got '' [osh_.cc status] Expected 0, got 1 stdout: stderr: echo ${x,A} ^~~~ [ stdin ]:2: fatal: Id.VOp1_Comma can't have an argument |
osh | 4 Lower Case glob [osh stdout] Expected 'ABC DEF\nABC deF\n', got '' [osh status] Expected 0, got 1 stdout: stderr: FATAL: NotImplementedError('Id.VOp1_Comma',) |
osh_.py | 4 Lower Case glob [osh_.py stdout] Expected 'ABC DEF\nABC deF\n', got '' [osh_.py status] Expected 0, got 1 stdout: stderr: osh fatal error: Id.VOp1_Comma |
osh_.cc | 4 Lower Case glob [osh_.cc stdout] Expected 'ABC DEF\nABC deF\n', got '' [osh_.cc status] Expected 0, got -6 stdout: stderr: terminate called after throwing an instance of 'NotImplementedError*' |
osh | 5 ${x@u} U l L upper / lower case (bash 5.1 feature) [osh status] Expected 0, got 2 stdout: stderr: echo "${x@u}" ^ [ stdin ]:2: Unexpected token in ${} (VOp3) |
osh_.py | 5 ${x@u} U l L upper / lower case (bash 5.1 feature) [osh_.py status] Expected 0, got 2 stdout: stderr: echo "${x@u}" ^ [ stdin ]:2: Unexpected token in ${} (VOp3) |
osh_.cc | 5 ${x@u} U l L upper / lower case (bash 5.1 feature) [osh_.cc status] Expected 0, got 2 stdout: stderr: echo "${x@u}" ^ [ stdin ]:2: Unexpected token in ${} (VOp3) |
osh | 7 ${array@Q} and ${array[@]@Q} stdout: x $'y\\nz' xstderr: echo ${array@Q} ^~ [ stdin ]:6: fatal: Array 'array' can't be referred to as a scalar (without @ or *) |
osh_.py | 7 ${array@Q} and ${array[@]@Q} stdout: x $'y\\nz' xstderr: echo ${array@Q} ^~ [ stdin ]:6: fatal: Array 'array' can't be referred to as a scalar (without @ or *) |
osh_.cc | 7 ${array@Q} and ${array[@]@Q} stdout: x $'y\\nz' xstderr: echo ${array@Q} ^~~~ [ stdin ]:6: fatal: Array 'array' can't be referred to as a scalar (without @ or *) |
osh | 12 undef and @P @Q @a stdout: status=0 '' status=0 status=0stderr: |
osh_.py | 12 undef and @P @Q @a stdout: status=0 '' status=0 status=0stderr: |
osh_.cc | 12 undef and @P @Q @a stdout: status=0 '' status=0 status=0stderr: |
osh | 13 argv array and @P @Q @a stdout: status=1 a $'b\\nc' status=0 a status=0stderr: echo ${@@P} ^~~~ [ -c flag ]:1: fatal: Can't use @P on value.MaybeStrArray |
osh_.py | 13 argv array and @P @Q @a stdout: status=1 a $'b\\nc' status=0 a status=0stderr: echo ${@@P} ^~~~ [ -c flag ]:1: fatal: Can't use @P on value.MaybeStrArray |
osh_.cc | 13 argv array and @P @Q @a stdout: status=1 a $'b\\nc' status=0 a status=0stderr: echo ${@@P} ^~~~ [ -c flag ]:1: fatal: Can't use @P on value.MaybeStrArray |
osh | 14 assoc array and @P @Q @a stdout: status=1 status=1 A - A status=0stderr: declare -A A=(["x"]="y"); echo ${A@P} - ${A[@]@P} ^~ [ -c flag ]:1: fatal: Array 'A' can't be referred to as a scalar (without @ or *) declare -A A=(["x"]="y"); echo ${A@Q} - ${A[@]@Q} ^~ [ -c flag ]:1: fatal: Array 'A' can't be referred to as a scalar (without @ or *) |
osh_.py | 14 assoc array and @P @Q @a stdout: status=1 status=1 A - A status=0stderr: declare -A A=(["x"]="y"); echo ${A@P} - ${A[@]@P} ^~ [ -c flag ]:1: fatal: Array 'A' can't be referred to as a scalar (without @ or *) declare -A A=(["x"]="y"); echo ${A@Q} - ${A[@]@Q} ^~ [ -c flag ]:1: fatal: Array 'A' can't be referred to as a scalar (without @ or *) |
osh_.cc | 14 assoc array and @P @Q @a stdout: status=1 status=1 A - A status=0stderr: declare -A A=(["x"]="y"); echo ${A@P} - ${A[@]@P} ^~~~ [ -c flag ]:1: fatal: Array 'A' can't be referred to as a scalar (without @ or *) declare -A A=(["x"]="y"); echo ${A@Q} - ${A[@]@Q} ^~~~ [ -c flag ]:1: fatal: Array 'A' can't be referred to as a scalar (without @ or *) |
osh | 15 ${!var[@]@X} stdout: fail 'x y' astderr: declare -A A=(["x"]="y"); echo ${!A[@]@P} ^~~~ [ -c flag ]:1: fatal: Can't use @P on value.MaybeStrArray |
osh_.py | 15 ${!var[@]@X} stdout: fail 'x y' astderr: declare -A A=(["x"]="y"); echo ${!A[@]@P} ^~~~ [ -c flag ]:1: fatal: Can't use @P on value.MaybeStrArray |
osh_.cc | 15 ${!var[@]@X} stdout: fail 'x y' astderr: declare -A A=(["x"]="y"); echo ${!A[@]@P} ^~~~ [ -c flag ]:1: fatal: Can't use @P on value.MaybeStrArray |
osh | 17 ${!A@a} and ${!A[@]@a} [osh stdout] Expected 'x=\nx=\n', got 'x=a\n' [osh status] Expected 0, got 1 stdout: x=astderr: echo x=${!A@a} ^~~~ [ stdin ]:3: fatal: Indirect expansion of assoc array |
osh_.py | 17 ${!A@a} and ${!A[@]@a} [osh_.py stdout] Expected 'x=\nx=\n', got 'x=a\n' [osh_.py status] Expected 0, got 1 stdout: x=astderr: echo x=${!A@a} ^~~~ [ stdin ]:3: fatal: Indirect expansion of assoc array |
osh_.cc | 17 ${!A@a} and ${!A[@]@a} [osh_.cc stdout] Expected 'x=\nx=\n', got 'x=a\n' [osh_.cc status] Expected 0, got 1 stdout: x=astderr: echo x=${!A@a} ^~~~ [ stdin ]:3: fatal: Indirect expansion of assoc array |