diff options
author | Jim Meyering <meyering@fb.com> | 2013-10-24 11:21:03 -0700 |
---|---|---|
committer | Jim Meyering <meyering@fb.com> | 2013-10-24 13:47:46 -0700 |
commit | 37f7cd01040216c622fab84d3c6480774280e269 (patch) | |
tree | eee486f3a7362c0e1aeb703155329f2994a4c6f7 /tests/pcre-utf8 | |
parent | 85e31d5a24018df78b6607dd82d4556936cac8df (diff) | |
download | grep-37f7cd01040216c622fab84d3c6480774280e269.tar.gz |
tests: port more tests to bourne shells with hex-challenged printf
* tests/pcre-utf8: Convert the hex \xHH literals for the euro symbol
to octal \OOO.
* tests/turkish-I: Likewise for "I with dot".
* tests/turkish-I-without-dot: Likewise for another Turkish I: U+0131.
Diffstat (limited to 'tests/pcre-utf8')
-rwxr-xr-x | tests/pcre-utf8 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/pcre-utf8 b/tests/pcre-utf8 index 612b7029..b8228d51 100755 --- a/tests/pcre-utf8 +++ b/tests/pcre-utf8 @@ -16,7 +16,7 @@ fail=0 echo '$' | LC_ALL=en_US.UTF-8 grep -qP '\p{S}' \ || skip_ 'PCRE support is compiled out, or it does not support properties' -euro='\xe2\x82\xac euro' +euro='\342\202\254 euro' printf "$euro\\n" > in || framework_failure_ LC_ALL=en_US.UTF-8 grep -P '^\p{S}' in > out || fail=1 |