summaryrefslogtreecommitdiff
path: root/tests/pcre-utf8-w
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pcre-utf8-w')
-rwxr-xr-xtests/pcre-utf8-w5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/pcre-utf8-w b/tests/pcre-utf8-w
index 4cd7db69..81ac9ff8 100755
--- a/tests/pcre-utf8-w
+++ b/tests/pcre-utf8-w
@@ -13,9 +13,12 @@ LC_ALL=en_US.UTF-8
export LC_ALL
require_pcre_
+echo . | grep -qP '(*UTF).' 2>/dev/null \
+ || skip_ 'PCRE unicode support is compiled out'
+
fail=0
-echo 'Perú'> in || framework_failure_
+echo 'Perú' > in || framework_failure_
echo 'ú' > exp || framework_failure_
grep -Po '.\b' in > out || fail=1