spec test index / oilshell.org

149 passed, 1 OK, 3 not implemented, 0 BUG, 7 failed, 0 timeouts, 0 cases skipped 7 failed under osh

dash | 23 IFS empty doesn't do splittingstdout: ['-e a b\tc'] stderr: |

dash | 24 IFS unset behaves like $' \t\n'stdout: ['-e', 'a', 'b', 'c'] stderr: |

osh | 25 IFS='\' [osh stdout] Expected "['a', 'b']\n", got "['a', '', '', '', 'b']\n" stdout: ['a', '', '', '', 'b'] stderr: |

osh | 26 IFS='\ ' [osh stdout] Expected "['a', 'b', '', 'c', 'd']\n", got "['a', '', '', '', 'b', '', '', '', '', '', '', '', 'c', 'd', '', '', '']\n" stdout: ['a', '', '', '', 'b', '', '', '', '', '', '', '', 'c', 'd', '', '', ''] stderr: |

dash | 33 IFS and joining arrays by assignmentsstdout: ['x:y z'] ['x:y z'] ['x:y z'] ['x:y z'] stderr: dash: 10: sx:y z: not found |

osh | 33 IFS and joining arrays by assignments [osh stdout] Expected "['x y z']\n['x y z']\n['x y z']\n['x:y z']\n", got "['x y z']\n['x:y z']\n['x:y z']\n['x:y z']\n" stdout: ['x y z'] ['x:y z'] ['x:y z'] ['x:y z'] stderr: s"$*" ^ [ stdin ]:10: 'sx:y z' not found |

osh | 35 IFS='' with $@ and $* [osh stdout] Expected "['at', 'a', 'b c']\n['star', 'a', 'b c']\n", got "['at', 'ab c']\n['star', 'ab c']\n" stdout: ['at', 'ab c'] ['star', 'ab c'] stderr: |

osh | 36 IFS='' with $@ and $* and printf [osh stdout] Expected '[a]\n[b c]\n[a]\n[b c]\n', got '[ab c]\n[ab c]\n' stdout: [ab c] [ab c] stderr: |

dash | 37 IFS='' with ${a[@]} and ${a[*]}stdout: stderr: dash: 1: Syntax error: "(" unexpected |

osh | 37 IFS='' with ${a[@]} and ${a[*]} [osh stdout] Expected "['at', 'a', 'b c']\n['star', 'a', 'b c']\n", got "['at', 'ab c']\n['star', 'ab c']\n" stdout: ['at', 'ab c'] ['star', 'ab c'] stderr: |

osh | 38 Bug #628 split on : with : in literal word [osh stdout] Expected "['a', ':b']\n['a', ':']\n---\n['a', 'zb']\n['a', 'z']\n", got "['a', '\\\\', 'b']\n['a', '\\\\']\n---\n['a', '\\\\', 'b']\n['a', '\\\\']\n" stdout: ['a', '\\', 'b'] ['a', '\\'] --- ['a', '\\', 'b'] ['a', '\\'] stderr: |