29 |
shift |
shift |
30 |
done |
done |
31 |
|
|
32 |
|
# Check for the availability of UTF-8 support |
33 |
|
|
34 |
./pcretest -C | ./pcregrep "No UTF-8 support" >/dev/null |
./pcretest -C | ./pcregrep "No UTF-8 support" >/dev/null |
35 |
no_utf8=$? |
utf8=$? |
36 |
|
|
37 |
echo "---------------------------- Test 1 ------------------------------" >testtry |
echo "---------------------------- Test 1 ------------------------------" >testtry |
38 |
$valgrind ./pcregrep PATTERN $testdata/grepinput >>testtry |
$valgrind ./pcregrep PATTERN $testdata/grepinput >>testtry |
220 |
|
|
221 |
# These tests require UTF-8 support |
# These tests require UTF-8 support |
222 |
|
|
223 |
if [ $no_utf8 -ne 0 ] ; then |
if [ $utf8 -ne 0 ] ; then |
224 |
echo "Testing pcregrep UTF-8 features" |
echo "Testing pcregrep UTF-8 features" |
225 |
|
|
226 |
echo "---------------------------- Test U1 ------------------------------" >testtry |
echo "---------------------------- Test U1 ------------------------------" >testtry |