Permalink
Please sign in to comment.
Browse files
Many bug fixes, new tests, and test reorganization.
- Many bug fixes and code improvements for prefix ops like ${#a},
suffix ops like ${a%suffix}, and test operations like ${a:-}. Rewrite
_EvalBracedVarSub to use value instead of part_value. More consistent
undefined handling, etc.
- Partial bug fix for $? of pipelines. This uncovered a
nondeterministic bug in $PIPESTATUS which still needs to be fixed.
- Various array bug fixes.
- Add new special-vars test for $?, $#, etc.
- Move array-decay to its own test, since it's a non-Oil feature.- Loading branch information...
Showing
with
399 additions
and 213 deletions.
- +1 −9 core/cmd_exec.py
- +18 −7 core/process.py
- +151 −105 core/word_eval.py
- +36 −2 doc/errors.md
- +9 −0 sh_spec.py
- +17 −8 spec.sh
- +26 −0 tests/array-compat.test.sh
- +8 −22 tests/array.test.sh
- +4 −0 tests/glob.test.sh
- +12 −1 tests/pipeline.test.sh
- +1 −1 tests/posix.test.sh
- +69 −0 tests/special-vars.test.sh
- +10 −0 tests/var-op-other.test.sh
- +25 −4 tests/var-op-strip.test.sh
- +0 −35 tests/var-sub.test.sh
- +0 −19 tests/word-eval.test.sh
- +12 −0 tests/word-split.test.sh
Oops, something went wrong.
0 comments on commit
5502d07