25 |
./pcretest -C | ./pcregrep 'No Unicode properties support' >/dev/null |
./pcretest -C | ./pcregrep 'No Unicode properties support' >/dev/null |
26 |
ucp=$? |
ucp=$? |
27 |
|
|
|
./pcretest -C | ./pcregrep '\\R matches CR, LF, or CRLF only' >/dev/null |
|
|
bsrok=$? |
|
|
|
|
28 |
# Select which tests to run; for those that are explicitly requested, check |
# Select which tests to run; for those that are explicitly requested, check |
29 |
# that the necessary optional facilities are available. |
# that the necessary optional facilities are available. |
30 |
|
|
94 |
fi |
fi |
95 |
fi |
fi |
96 |
|
|
|
if [ $bsrok = 0 ] ; then |
|
|
if [ $do2 = yes ] ; then |
|
|
echo "Can't run test 2 because \\R is restricted" |
|
|
exit 1 |
|
|
fi |
|
|
if [ $do5 = yes ] ; then |
|
|
echo "Can't run test 5 because \\R is restricted" |
|
|
exit 1 |
|
|
fi |
|
|
if [ $do7 = yes ] ; then |
|
|
echo "Can't run test 7 because \\R is restricted" |
|
|
exit 1 |
|
|
fi |
|
|
if [ $do8 = yes ] ; then |
|
|
echo "Can't run test 8 because \\R is restricted" |
|
|
exit 1 |
|
|
fi |
|
|
fi |
|
|
|
|
97 |
# If no specific tests were requested, select all that are relevant. |
# If no specific tests were requested, select all that are relevant. |
98 |
|
|
99 |
if [ $do1 = no -a $do2 = no -a $do3 = no -a $do4 = no -a \ |
if [ $do1 = no -a $do2 = no -a $do3 = no -a $do4 = no -a \ |
100 |
$do5 = no -a $do6 = no -a $do7 = no -a $do8 = no -a \ |
$do5 = no -a $do6 = no -a $do7 = no -a $do8 = no -a \ |
101 |
$do9 = no -a $do10 = no ] ; then |
$do9 = no -a $do10 = no ] ; then |
102 |
do1=yes |
do1=yes |
103 |
if [ $bsrok -ne 0 ] ; then do2=yes; fi |
do2=yes |
104 |
do3=yes |
do3=yes |
105 |
if [ $utf8 -ne 0 ] ; then do4=yes; fi |
if [ $utf8 -ne 0 ] ; then do4=yes; fi |
106 |
if [ $utf8 -ne 0 -a $bsrok -ne 0 ] ; then do5=yes; fi |
if [ $utf8 -ne 0 ] ; then do5=yes; fi |
107 |
if [ $utf8 -ne 0 -a $ucp -ne 0 ] ; then do6=yes; fi |
if [ $utf8 -ne 0 -a $ucp -ne 0 ] ; then do6=yes; fi |
108 |
if [ $bsrok -ne 0 ] ; then do7=yes; fi |
do7=yes |
109 |
if [ $utf8 -ne 0 -a $bsrok -ne 0 ] ; then do8=yes; fi |
if [ $utf8 -ne 0 ] ; then do8=yes; fi |
110 |
if [ $utf8 -ne 0 -a $ucp -ne 0 ] ; then do9=yes; fi |
if [ $utf8 -ne 0 -a $ucp -ne 0 ] ; then do9=yes; fi |
111 |
if [ $link_size -eq 2 -a $ucp -ne 0 ] ; then do10=yes; fi |
if [ $link_size -eq 2 -a $ucp -ne 0 ] ; then do10=yes; fi |
112 |
fi |
fi |