aboutsummaryrefslogtreecommitdiff
path: root/tests/sh.test
AgeCommit message (Collapse)Author
2021-01-14A few more shell tests.Rob Landley
2020-12-25toysh fixes and testsRob Landley
2020-10-19More tests, and a workaround to pass one of them.Rob Landley
(The bug is that "echo hello \" followed by just enter should end the $PS2 state but it persists when the line is empty because resulting collated line still ends with \ so it wants another line.)
2020-10-13Fix up ${x%y} ${x^y} ${x,y} and add tests.Rob Landley
2020-10-11toysh: more variable/wildcard plumbing and tests.Rob Landley
2020-10-04Implement ${x#y} and ${x##y}Rob Landley
Debug wildcard * match, teach skipslash() to fill out a wildcard deck, make collect_wildcards() flush remove the parsing-only 0th entry.
2020-09-14Fix multiline case/esac parsing, make syntax_err() exit non-interactveRob Landley
contexts like scripts, and tweak debug scaffolding.
2020-08-31Implement case/esac, add more wildcard tests.Rob Landley
2020-06-23More sh tests.Rob Landley
2020-06-19More sh testsRob Landley
2020-06-18More shell tests.Rob Landley
2020-05-26Fix syntax checking for "if true; then echo hello | fi", fix some tests,Rob Landley
slightly more elaborate debug output.
2020-05-26More sh tests.Rob Landley
2020-05-23Ahem: have the backgrounding test actually background.Rob Landley
Point is to make sure the consumer waits for all output, not for process exit.
2020-05-23More shell tests.Rob Landley
2020-05-11More shell tests.Rob Landley
2020-05-03Next round of shell work.Rob Landley
2020-04-30Yet more shell test tweaks.Rob Landley
2020-04-27Redo toysh variable expansion plumbing to start ${} (variable expansion canRob Landley
now return error), inline utf8spnc and merge_arg(), unify "break" logic, fix "continue" and "done; done", fix cd not to expand arguments twice
2020-04-24More shell tests.Rob Landley
2020-04-16Yet more shell tests.Rob Landley
2020-03-13More sh tests.Rob Landley
2020-03-06Yet more shell tests.Rob Landley
2020-02-29Fix a couple of shell tests.Elliott Hughes
These didn't work on a system where readlink is a symlink to toybox, ironically.
2020-02-29More shell tests.Rob Landley
2020-02-26More sh tests.Rob Landley
2020-02-25Shell ! testsRob Landley
2020-02-17More sh tests.Rob Landley
2020-02-14Tests for upcoming sh plumbing.Rob Landley
2020-02-06Basic parenthetical subshell support.Rob Landley
2020-02-04More (subshell) work (not finished), fix {block;} | pipes.Rob Landley
2020-01-30Couple more tests and sh comment changes. (Mostly todo list tracking.)Rob Landley
2020-01-30More sh tests.Rob Landley
2020-01-08Implement quote removal and fix unterminated bracket expansion.Rob Landley
2020-01-07Bracket support in progress. Mind the dprintf()s.Rob Landley
2019-12-23Toysh passes two tests now! Woo! (Otherwise, does not remotely work right now.)Rob Landley
2019-12-23Add "texpect" and add a couple simple examples to sh.test.Rob Landley
2019-01-07Use `return` rather than `continue` to make bash 4.4 happy.Elliott Hughes
Otherwise we get this error: continue: only meaningful in a 'for', 'while', or 'until' loop
2017-04-26Elliott wants to run the toybox tests on android host and there's an sh butRob Landley
it isn't toysh, so test for a bash alias.
2017-01-09More pending shell tests.Rob Landley
2016-04-20Start of shell tests: $(()) and $'' expansion.Rob Landley