summaryrefslogtreecommitdiff
path: root/regress
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2015-12-04 13:09:04 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2015-12-04 13:09:04 +0000
commit0d70af765034719f5909aead6aed1a6df02617fa (patch)
treedaf39552bf8eff19332370638f7a7b31e7236bbd /regress
parent0a6f7bc7119e097c1ed4ccd8c1f2b34ea49cd5ac (diff)
add a test for wc -m
(this may not be the best place for these tests. perhaps they all belong in the regular usr.bin hierarchy. for now, keeping them all together.)
Diffstat (limited to 'regress')
-rw-r--r--regress/misc/utf8/wc.exp1
-rw-r--r--regress/misc/utf8/wc.sh2
2 files changed, 3 insertions, 0 deletions
diff --git a/regress/misc/utf8/wc.exp b/regress/misc/utf8/wc.exp
new file mode 100644
index 00000000000..43084821576
--- /dev/null
+++ b/regress/misc/utf8/wc.exp
@@ -0,0 +1 @@
+ 5
diff --git a/regress/misc/utf8/wc.sh b/regress/misc/utf8/wc.sh
new file mode 100644
index 00000000000..8196714c80c
--- /dev/null
+++ b/regress/misc/utf8/wc.sh
@@ -0,0 +1,2 @@
+echo -n püffy | wc -m > wc.out
+diff wc.exp wc.out