OILS / spec / known-differences.test.sh View on Github | oils.pub

28 lines, 5 significant
1## oils_failures_allowed: 0
2## compare_shells: ash dash bash mksh zsh
3#
4# Here we list tests where different shells disagree with each other. For example we
5# encountered some cases where osh and bash agree, but ash doesnt. For alpine / abuild
6# this can cause build failures. So even if we don't directly plan on fixing them (ever)
7# it can still be useful to keep track of these cases. This is also what separates these
8# cases from the cases in the divergence spec tests (we plan on fixing those).
9# The packages where these disagreements were encountered are mentioned after the dash
10
11#### `set` output format - ifupdown-ng
12export FOO=bar
13set | grep bar | head -n 1
14## STDOUT:
15FOO=bar
16## END
17## OK ash/dash STDOUT:
18FOO='bar'
19## END
20## OK zsh STDOUT:
21## END
22
23#### nested function declaration - xcb-util-renderutil
24f() g() { echo 'hi'; }
25## STDOUT:
26## status: 2
27## OK ash/dash/mksh/zsh status: 0
28