From 0a558836e7c19899b3a719c79d6d472366cb0f30 Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Wed, 10 May 2017 13:51:44 -0700 Subject: Make fewer assumptions about the shell in echo.test. This test fails with mksh, but we're not here to test mksh. --- tests/echo.test | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'tests') 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 -- cgit v1.2.3