aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtests/echo.test3
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