spec test index / oilshell.org

212 passed, 24 OK, 18 not implemented, 21 BUG, 0 failed, 0 timeouts, 0 cases skipped

osh | 1 incomplete trailing expansionstdout: {a,b}_{ stderr: |

osh_ALT | 1 incomplete trailing expansionstdout: {a,b}_{ stderr: |

osh | 2 partial leading expansionstdout: }_{a,b} stderr: |

osh_ALT | 2 partial leading expansionstdout: }_{a,b} stderr: |

osh | 3 partial leading expansion 2stdout: {x}_{a,b} stderr: |

osh_ALT | 3 partial leading expansion 2stdout: {x}_{a,b} stderr: |

zsh | 4 } in expansionstdout: stderr: zsh: parse error near `}' |

osh | 4 } in expansionstdout: {a,b}} stderr: |

osh_ALT | 4 } in expansionstdout: {a,b}} stderr: |

bash | 11 double expansion with simple var -- bash bugstdout: b_c b_d stderr: |

bash | 13 double expansion with literal and simple varstdout: _ _ b_c b_d stderr: |

bash | 17 { in expansionstdout: {a {b stderr: |

zsh | 17 { in expansionstdout: {a {b stderr: |

mksh | 20 Empty alternativestdout: ['X', '', 'Y', ''] stderr: |

zsh | 20 Empty alternativestdout: ['X', '', 'Y', ''] stderr: |

mksh | 25 expansion on RHS of assignmentstdout: X Y stderr: |

zsh | 26 no expansion with RHS assignmentstdout: stderr: zsh: parse error near `\n' |

mksh | 28 Tilde expansion with brace expansionstdout: foo~/bar ~/bar stderr: |

osh | 28 Tilde expansion with brace expansionstdout: foo~/bar ~/bar stderr: |

osh_ALT | 28 Tilde expansion with brace expansionstdout: foo~/bar ~/bar stderr: |

mksh | 29 Two kinds of tilde expansionstdout: ~/src ~root stderr: |

osh | 29 Two kinds of tilde expansionstdout: ~/src ~root stderr: |

osh_ALT | 29 Two kinds of tilde expansionstdout: ~/src ~root stderr: |

mksh | 31 Number range expansionstdout: -{1..8..3}- -{1..10..3}- stderr: |

bash | 32 Ascending number range expansion with negative step is invalidstdout: -1- -4- -7- stderr: |

mksh | 32 Ascending number range expansion with negative step is invalidstdout: -{1..8..-3}- stderr: |

zsh | 32 Ascending number range expansion with negative step is invalidstdout: -7- -4- -1- stderr: |

bash | 33 regression: -1 step disallowedstdout: -1- -2- -3- -4- stderr: |

mksh | 33 regression: -1 step disallowedstdout: -{1..4..-1}- stderr: |

zsh | 33 regression: -1 step disallowedstdout: -4- -3- -2- -1- stderr: |

bash | 34 regression: 0 step disallowedstdout: -1- -2- -3- -4- stderr: |

mksh | 34 regression: 0 step disallowedstdout: -{1..4..0}- stderr: |

zsh | 34 regression: 0 step disallowedstdout: -1..4..0- stderr: |

bash | 35 Descending number range expansion with positive step is invalidstdout: -8- -5- -2- stderr: |

mksh | 35 Descending number range expansion with positive step is invalidstdout: -{8..1..3}- stderr: |

zsh | 35 Descending number range expansion with positive step is invalidstdout: -8- -5- -2- stderr: |

mksh | 36 Descending number range expansion with negative stepstdout: -{8..1..-3}- stderr: |

zsh | 36 Descending number range expansion with negative stepstdout: -2- -5- -8- stderr: |

mksh | 37 Singleton rangesstdout: {1..1}- {-9..-9}- {-9..-9..3}- {-9..-9..-3}- {a..a}- stderr: |

mksh | 38 Singleton char ranges with stepsstdout: {a..a..2}- {a..a..-2}- stderr: |

zsh | 38 Singleton char ranges with stepsstdout: {a..a..2}- {a..a..-2}- stderr: |

mksh | 39 Char range expansionstdout: -{a..e}- stderr: |

mksh | 40 Char range expansion with stepstdout: -{a..e..2}- stderr: |

zsh | 40 Char range expansion with stepstdout: -{a..e..2}- stderr: |

bash | 41 Char ranges with steps of the wrong signstdout: -a- -c- -e- -e- -c- -a- stderr: |

mksh | 41 Char ranges with steps of the wrong signstdout: -{a..e..-2}- -{e..a..2}- stderr: |

zsh | 41 Char ranges with steps of the wrong signstdout: -{a..e..-2}- -{e..a..2}- stderr: |

bash | 42 Mixed case char expansion is invalidstdout: stderr: bash: line 2: bad substitution: no closing "`" in `- bash: line 3: bad substitution: no closing "`" in `- |

mksh | 42 Mixed case char expansion is invalidstdout: -{z..A}- -{z..A..2}- stderr: |

zsh | 42 Mixed case char expansion is invalidstdout: BUG stderr: |

mksh | 43 Descending char range expansionstdout: -{e..a..-2}- stderr: |

zsh | 43 Descending char range expansionstdout: -{e..a..-2}- stderr: |

mksh | 44 Fixed width number range expansionstdout: -{01..03}- -{09..12}- -{12..07}- stderr: |

mksh | 45 Inconsistent fixed width number range expansionstdout: -{01..003}- stderr: |

zsh | 45 Inconsistent fixed width number range expansionstdout: -01- -02- -03- stderr: |

mksh | 46 Inconsistent fixed width number range expansionstdout: -{01..3}- stderr: |

mksh | 47 Adjacent comma and range worksstdout: -a{1..3}- -b{1..3}- stderr: |

mksh | 48 Range inside comma worksstdout: -a- -_{1..3}_- -b- stderr: |

osh | 50 comma and invalid range (adjacent and nested)stdout: -{a,b}{1...3}- -{a,{1...3}}- {a,b}{} stderr: |

osh_ALT | 50 comma and invalid range (adjacent and nested)stdout: -{a,b}{1...3}- -{a,{1...3}}- {a,b}{} stderr: |

mksh | 52 Side effect in expansionstdout: a-0 b-0 c-0 stderr: |

zsh | 52 Side effect in expansionstdout: a-0 b-0 c-0 stderr: |

zsh | 54 Invalid brace expansions mixing characters and numbersstdout: BUG stderr: |