summaryrefslogtreecommitdiff
path: root/tests/equiv-classes
diff options
context:
space:
mode:
authorLorry Tar Creator <lorry-tar-importer@lorry>2016-04-22 04:38:07 +0000
committerLorry Tar Creator <lorry-tar-importer@lorry>2016-04-22 04:38:07 +0000
commit28ef1abc10cfbc2c3d2747c008eb2300858d0426 (patch)
tree41208fb8f393e6cb6cc8f939623ad47a0db17876 /tests/equiv-classes
downloadgrep-tarball-28ef1abc10cfbc2c3d2747c008eb2300858d0426.tar.gz
Diffstat (limited to 'tests/equiv-classes')
-rwxr-xr-xtests/equiv-classes13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/equiv-classes b/tests/equiv-classes
new file mode 100755
index 0000000..940efa4
--- /dev/null
+++ b/tests/equiv-classes
@@ -0,0 +1,13 @@
+#!/bin/sh
+# Test that equivalence classes work.
+
+. "${srcdir=.}/init.sh"; path_prepend_ ../src
+
+require_en_utf8_locale_
+require_compiled_in_MB_support
+
+LC_ALL=en_US.UTF-8
+export LC_ALL
+
+echo à | grep '[[=a=]]' > /dev/null
+Exit $?