]> git.sesse.net Git - xml-template/blobdiff - tests/test.sh
Rename php -> php4.
[xml-template] / tests / test.sh
index 0b09ea4838f04de123a9ef297e129675d89829ce..ed601caf60981c8d7734503262e782e3162f3aa1 100755 (executable)
@@ -4,7 +4,7 @@ if [ -z "$TESTS" ]; then
        TESTS="passthru simple clone include attribute attribute2 attribute3 attribute-empty namespace namespace2 structure"
 fi
 if [ -z "$LANGUAGES" ]; then
-       LANGUAGES="perl perl-sax php python ruby"
+       LANGUAGES="perl perl-sax php4 python ruby"
 fi
 
 for L in $LANGUAGES; do
@@ -18,8 +18,8 @@ for L in $LANGUAGES; do
                if [ "$L" = "perl-sax" ]; then
                        perl -I../perl-sax ../perl-sax/$T.pl > $TEMPFILE
                fi
-               if [ "$L" = "php" ]; then
-                       php4-cgi -q ../php/$T.php > $TEMPFILE
+               if [ "$L" = "php4" ]; then
+                       php4-cgi -q ../php4/$T.php > $TEMPFILE
                fi
                if [ "$L" = "python" ]; then
                        python ../python/$T.py > $TEMPFILE