aboutsummaryrefslogtreecommitdiff
path: root/scripts/runtest.sh
AgeCommit message (Collapse)Author
2020-03-13More sh tests.Rob Landley
2020-03-02Say command name before test result with txpect too.Rob Landley
2019-12-28Add VERBOSE=xpectRob 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-12-14Any substitute EVAL should supply its own --Rob Landley
2019-10-28Only create test file "input" when input argument isn't empty.Rob Landley
2019-10-16Fix NOSPACE tests.Rob Landley
2019-06-24Fix FAILCOUNT arithmetic for mksh.Elliott Hughes
mksh doesn't support $[], only $(()).
2019-06-22Make testcmd work if the path to $PWD has a space in it.Rob Landley
2019-05-12Add VERBOSE=nopass to not show successful tests.Rob Landley
2019-05-06Some "echo" variants default to -e, use printf "%s\n" to avoid that.Rob Landley
2019-04-04Add "toyonly" function to test suite.Rob Landley
2019-03-31Add "skipnot" function to test suite, skips next test if command line fails.Rob Landley
2018-12-03Break runtest.sh out again: the Android devs were using it.Rob Landley
2018-12-02Merge runtest.sh into test.sh.Rob Landley
2018-04-08Add -- to "eval".Rob Landley
If you ever do have a command name beginning with a -, eval won't run it by default, because even though it takes no arguments it tries to parse them anyway, so it complains it's an unrecognized argument. Solution: -- as first argument (which is parsed and stops argument parsing).
2018-04-08Fix error message: update $NAME before complaining about test with wrong # args.Rob Landley
2017-04-04Add "testcmd" function as an alternative to "testing" for tests/*.test, andRob Landley
check in two converted commands.
2016-09-04make test_cmp caused the make invocation to exit with an error because theRob Landley
last test exited with nonzero status and the script preserved it. In the current context, that's counterproductive.
2016-06-30Add NOSPACE=1 to allow tests to pass with diff -bRob Landley
2016-04-22Allow EVAL= to run test under a different shell (for sh.test)Rob Landley
2016-03-02Factor out command name at the start of test name, have runtest.sh print it.Rob Landley
2016-02-02Update to status.html and some test suite cosmetic tweaks.Rob Landley
2015-06-25Suggestion from Elliott Hughes: tweak test infrastructure to notice ifRob Landley
command exits with high errno and assume it segfaulted.
2014-11-28When running a test, the diff is always an ascii diff, not binary.Rob Landley
2014-11-14Add color support for scripts/test.sh and new SKIP_HOST for tests expected ↵Rob Landley
to fail on non-toybox implementations.
2014-09-20Move testsuite out of scripts/test into its own top level tests directory, ↵Rob Landley
and make ctrl-c kill "make test" more reliably.