--- code/trunk/RunTest 2007/02/24 21:38:45 25 +++ code/tags/pcre-3.0/RunTest 2007/02/24 21:39:23 44 @@ -33,9 +33,9 @@ if [ $do1 = yes ] ; then echo "Testing main functionality (Perl compatible)" - ./pcretest testinput testtry + ./pcretest testdata/testinput1 testtry if [ $? = 0 ] ; then - $cf testtry testoutput + $cf testtry testdata/testoutput1 if [ $? != 0 ] ; then exit 1; fi else exit 1 fi @@ -45,9 +45,9 @@ if [ $do2 = yes ] ; then echo "Testing API and error handling (not Perl compatible)" - ./pcretest -i testinput2 testtry + ./pcretest -i testdata/testinput2 testtry if [ $? = 0 ] ; then - $cf testtry testoutput2 + $cf testtry testdata/testoutput2 if [ $? != 0 ] ; then exit 1; fi else exit 1 fi @@ -57,9 +57,9 @@ if [ $do3 = yes ] ; then echo "Testing Perl 5.005 features (Perl 5.005 compatible)" - ./pcretest testinput3 testtry + ./pcretest testdata/testinput3 testtry if [ $? = 0 ] ; then - $cf testtry testoutput3 + $cf testtry testdata/testoutput3 if [ $? != 0 ] ; then exit 1; fi else exit 1 fi @@ -76,9 +76,9 @@ locale -a | grep '^fr$' >/dev/null if [ $? -eq 0 ] ; then echo "Testing locale-specific features (using 'fr' locale)" - ./pcretest testinput4 testtry + ./pcretest testdata/testinput4 testtry if [ $? = 0 ] ; then - $cf testtry testoutput4 + $cf testtry testdata/testoutput4 if [ $? != 0 ] ; then exit 1; fi echo "Locale test ran OK" echo " "