summaryrefslogtreecommitdiff
path: root/regress
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2015-12-04 14:34:33 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2015-12-04 14:34:33 +0000
commit0ff028dc1cd1e1c5ac1a9baa82668ef70cd9f7d5 (patch)
tree7218ef5f96dc6b26028c9b7aa265edf1bafe7543 /regress
parent5c26af9dca4f7ab0fda560e005101f103f3f1c4c (diff)
tweak wc test to include a nonbreaking space
Diffstat (limited to 'regress')
-rw-r--r--regress/misc/utf8/wc.exp2
-rw-r--r--regress/misc/utf8/wc.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/regress/misc/utf8/wc.exp b/regress/misc/utf8/wc.exp
index 43084821576..9e764c07940 100644
--- a/regress/misc/utf8/wc.exp
+++ b/regress/misc/utf8/wc.exp
@@ -1 +1 @@
- 5
+ 2 10
diff --git a/regress/misc/utf8/wc.sh b/regress/misc/utf8/wc.sh
index 8196714c80c..937ab91953b 100644
--- a/regress/misc/utf8/wc.sh
+++ b/regress/misc/utf8/wc.sh
@@ -1,2 +1,2 @@
-echo -n püffy | wc -m > wc.out
+echo -n good püffy | wc -wm > wc.out
diff wc.exp wc.out