From 8ce4b080ce0a66b03e4ae95a45a49ac7a37cb275 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 6 May 2018 13:03:00 +0200 Subject: Add UTF-8 test for yes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- yes-test/test | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/yes-test/test b/yes-test/test index f795771..b978255 100755 --- a/yes-test/test +++ b/yes-test/test @@ -96,10 +96,24 @@ EOF rm tmp } +utf8 () +{ + cat > tmp < /dev/null + report $? "utf8" + rm tmp +} + if test $# = 0; then - set args0 args1 args2 args3 ddash + set args0 args1 args2 args3 ddash utf8 fi ( for f in $@; do -- cgit v1.2.3-70-g09d2