diff options
author | Rob Landley <rob@landley.net> | 2020-04-15 05:45:37 -0500 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2020-04-15 05:45:37 -0500 |
commit | 722f1909e4e7c1201c0553e94a01b982db462e5e (patch) | |
tree | b52adffb296e5efbe37f42e95f1386f2cc315474 /tests | |
parent | c4d5d44e0ff311847f262bf80456fed725a5f581 (diff) | |
download | toybox-722f1909e4e7c1201c0553e94a01b982db462e5e.tar.gz |
Echo tests for new unescape2() functionality.
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/echo.test | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/echo.test b/tests/echo.test index 80774e66..3ef60671 100755 --- a/tests/echo.test +++ b/tests/echo.test @@ -45,3 +45,7 @@ testcmd "-e \p" "-e '\\p'" "\\p\n" "" "" # http://austingroupbugs.net/view.php?id=1222 added -E testcmd "-En" "-En 'one\ntwo'" 'one\\ntwo' "" "" testcmd "-eE" "-eE '\e'" '\\e\n' "" "" + +# This is how bash's built-in echo behaves, but now how /bin/echo behaves. +toyonly testcmd "" "-e 'a\x123\ufb3bbc' | od -An -tx1" \ + " 61 12 33 ef ac bb 62 63 0a\n" "" "" |