aboutsummaryrefslogtreecommitdiff
path: root/tests/echo.test
AgeCommit message (Collapse)Author
2020-08-04echo: fix trailing \0.Elliott Hughes
This is a follow-on from 310eefe, addressing the case where sscanf fails and returns -1.
2020-06-14Fix test not to use shell builtin.Rob Landley
2020-04-15Echo tests for new unescape2() functionality.Rob Landley
2019-08-19echo/printf: expand test cases, fix \x corner cases.Elliott Hughes
The behavior with "\xAV" (where the second hex digit is invalid) is different from the behavior with "\xVA", and echo and printf differ from each other.
2019-04-30Make echo -E switch off -e.Rob Landley
2019-04-30echo: add -E.Elliott Hughes
POSIX finally gave us a way to use echo in a portable way despite differences of opinion about whether to default interpretation of escape sequences to on or off: -e enables and -E disables (as already implemented by busybox and coreutils). http://austingroupbugs.net/view.php?id=1222
2017-05-11Switch to testcmd and add "-e all but \c" test.Rob Landley
2017-05-11Make fewer assumptions about the shell in echo.test.Elliott Hughes
This test fails with mksh, but we're not here to test mksh.
2016-03-02Factor out command name at the start of test name, have runtest.sh print it.Rob Landley
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.