diff options
author | Elliott Hughes <enh@google.com> | 2017-05-10 13:51:44 -0700 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2017-05-11 12:15:49 -0500 |
commit | 0a558836e7c19899b3a719c79d6d472366cb0f30 (patch) | |
tree | 489fe34581c39449add680a374c556b3fc09b1a0 /tests | |
parent | d74b562f508475192b6783b0b2d4dae4e5c2fa93 (diff) | |
download | toybox-0a558836e7c19899b3a719c79d6d472366cb0f30.tar.gz |
Make fewer assumptions about the shell in echo.test.
This test fails with mksh, but we're not here to test mksh.
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/echo.test | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/echo.test b/tests/echo.test index 58499640..90c87eb9 100755 --- a/tests/echo.test +++ b/tests/echo.test @@ -20,8 +20,7 @@ testing "-n one" "$CMD -n one" "one" "" "" testing "one -n" "$CMD one -n" "one -n\n" "" "" testing "-en" "$CMD -en 'one\ntwo'" "one\ntwo" "" "" testing "--hello" "$CMD --hello" "--hello\n" "" "" -testing "-e all" "$CMD -e '\a\b\c\f\n\r\t\v\\\0123'" \ - "\a\b\c\f\n\r\t\v\\\0123\n" "" "" +testing "-e all" "$CMD -e '\a\b\c\f\n\r\t\v\\\0123' | xxd -p" "0708\n" "" "" testing "-nex hello" "$CMD -nex hello" "-nex hello\n" "" "" # Octal formatting tests |