aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xyes-test/test16
1 files changed, 15 insertions, 1 deletions
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 <<EOF
+åäö𝔘
+åäö𝔘
+åäö𝔘
+åäö𝔘
+åäö𝔘
+EOF
+ diff <($y 'åäö𝔘' | head -n 5) 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