summaryrefslogtreecommitdiff
path: root/RunTest
diff options
context:
space:
mode:
Diffstat (limited to 'RunTest')
-rwxr-xr-xRunTest16
1 files changed, 8 insertions, 8 deletions
diff --git a/RunTest b/RunTest
index a23c511..85eeb62 100755
--- a/RunTest
+++ b/RunTest
@@ -33,9 +33,9 @@ fi
if [ $do1 = yes ] ; then
echo "Testing main functionality (Perl compatible)"
- ./pcretest testinput1 testtry
+ ./pcretest testdata/testinput1 testtry
if [ $? = 0 ] ; then
- $cf testtry testoutput1
+ $cf testtry testdata/testoutput1
if [ $? != 0 ] ; then exit 1; fi
else exit 1
fi
@@ -45,9 +45,9 @@ fi
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 @@ fi
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 @@ if [ $do4 = yes ] ; then
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 " "