diff options
Diffstat (limited to 'tests/php')
-rwxr-xr-x | tests/php/php_alias.sh | 3 | ||||
-rw-r--r-- | tests/php/phpt/base/001.phpt | 2 | ||||
-rw-r--r-- | tests/php/phpt/base/002.phpt | 2 | ||||
-rw-r--r-- | tests/php/phpt/valueiterator/001.phpt | 5 | ||||
-rw-r--r-- | tests/php/phpt/valueiterator/002.phpt | 2 | ||||
-rw-r--r-- | tests/php/phpt/valueiterator/003.phpt | 2 | ||||
-rw-r--r-- | tests/php/phpt/valueiterator/004.phpt | 2 | ||||
-rw-r--r-- | tests/php/phpt/valueiterator/005.phpt | 2 | ||||
-rw-r--r-- | tests/php/phpt/valueiterator/006.phpt | 2 |
9 files changed, 12 insertions, 10 deletions
diff --git a/tests/php/php_alias.sh b/tests/php/php_alias.sh index 2c028ca..34c2918 100755 --- a/tests/php/php_alias.sh +++ b/tests/php/php_alias.sh @@ -13,4 +13,7 @@ then exit; fi +LD_LIBRARY_PATH="$(cd $PWD/../.. && echo $PWD):${LD_LIBRARY_PATH}" +export LD_LIBRARY_PATH + /usr/bin/php -d enable_dl=On -d extension_dir=../ext_dir -d extension=extfortest.so $1 diff --git a/tests/php/phpt/base/001.phpt b/tests/php/phpt/base/001.phpt index 91175d7..b22a44c 100644 --- a/tests/php/phpt/base/001.phpt +++ b/tests/php/phpt/base/001.phpt @@ -1,7 +1,7 @@ --TEST-- Test constructor & destructor --SKIPIF-- -<?php if (!extension_loaded("extention_for_tests")) print "skip"; ?> +<?php if (!extension_loaded("extension_for_tests")) print "skip"; ?> --FILEEOF-- <?php diff --git a/tests/php/phpt/base/002.phpt b/tests/php/phpt/base/002.phpt index a6f611b..847e602 100644 --- a/tests/php/phpt/base/002.phpt +++ b/tests/php/phpt/base/002.phpt @@ -1,7 +1,7 @@ --TEST-- Test constructor & destructor --SKIPIF-- -<?php if (!extension_loaded("extention_for_tests")) print "skip"; ?> +<?php if (!extension_loaded("extension_for_tests")) print "skip"; ?> --FILEEOF-- <?php diff --git a/tests/php/phpt/valueiterator/001.phpt b/tests/php/phpt/valueiterator/001.phpt index ae85e23..af75ce6 100644 --- a/tests/php/phpt/valueiterator/001.phpt +++ b/tests/php/phpt/valueiterator/001.phpt @@ -3,7 +3,7 @@ Iterate array --DESCRIPTION-- Iterate regular php array --SKIPIF-- -<?php if (!extension_loaded("extention_for_tests")) print "skip"; ?> +<?php if (!extension_loaded("extension_for_tests")) print "skip"; ?> --FILEEOF-- <?php require dirname(__FILE__) . '/../../include/valueiterator/1.php'; @@ -18,5 +18,4 @@ Array/Object contains 4 items [qwe]=qweqweqweqw [0]=5 [asd]=«£¥§©®°±¶⅐⅒⅓⅘⅞Ⅻↆ❄❅❆⚑⚐⌛⌚〰» -[zxccvx]=sdfsecvyh6bug6yfty - +[zxccvx]=sdfsecvyh6bug6yfty
\ No newline at end of file diff --git a/tests/php/phpt/valueiterator/002.phpt b/tests/php/phpt/valueiterator/002.phpt index 59d5dad..fdffdf7 100644 --- a/tests/php/phpt/valueiterator/002.phpt +++ b/tests/php/phpt/valueiterator/002.phpt @@ -3,7 +3,7 @@ Iterate object of stdClass --DESCRIPTION-- Iterate object of stdClass --SKIPIF-- -<?php if (!extension_loaded("extention_for_tests")) print "skip"; ?> +<?php if (!extension_loaded("extension_for_tests")) print "skip"; ?> --FILEEOF-- <?php require dirname(__FILE__) . '/../../include/valueiterator/1.php'; diff --git a/tests/php/phpt/valueiterator/003.phpt b/tests/php/phpt/valueiterator/003.phpt index 4155a2d..d29d7e5 100644 --- a/tests/php/phpt/valueiterator/003.phpt +++ b/tests/php/phpt/valueiterator/003.phpt @@ -3,7 +3,7 @@ Iterate object --DESCRIPTION-- Iterate regular php object --SKIPIF-- -<?php if (!extension_loaded("extention_for_tests")) print "skip"; ?> +<?php if (!extension_loaded("extension_for_tests")) print "skip"; ?> --FILEEOF-- <?php require dirname(__FILE__) . '/../../include/valueiterator/1.php'; diff --git a/tests/php/phpt/valueiterator/004.phpt b/tests/php/phpt/valueiterator/004.phpt index 3e6afb7..432b500 100644 --- a/tests/php/phpt/valueiterator/004.phpt +++ b/tests/php/phpt/valueiterator/004.phpt @@ -3,7 +3,7 @@ Iterate itarable oblect --DESCRIPTION-- class impIterator implements Iterator --SKIPIF-- -<?php if (!extension_loaded("extention_for_tests")) print "skip"; ?> +<?php if (!extension_loaded("extension_for_tests")) print "skip"; ?> --FILEEOF-- <?php require dirname(__FILE__) . '/../../include/valueiterator/1.php'; diff --git a/tests/php/phpt/valueiterator/005.phpt b/tests/php/phpt/valueiterator/005.phpt index e5df91e..f86845e 100644 --- a/tests/php/phpt/valueiterator/005.phpt +++ b/tests/php/phpt/valueiterator/005.phpt @@ -3,7 +3,7 @@ Iterate itarable oblect --DESCRIPTION-- class impIterAggr1 implements IteratorAggregate --SKIPIF-- -<?php if (!extension_loaded("extention_for_tests")) print "skip"; ?> +<?php if (!extension_loaded("extension_for_tests")) print "skip"; ?> --FILEEOF-- <?php require dirname(__FILE__) . '/../../include/valueiterator/1.php'; diff --git a/tests/php/phpt/valueiterator/006.phpt b/tests/php/phpt/valueiterator/006.phpt index d31cdda..82bc44b 100644 --- a/tests/php/phpt/valueiterator/006.phpt +++ b/tests/php/phpt/valueiterator/006.phpt @@ -3,7 +3,7 @@ Iterate itarable oblect --DESCRIPTION-- class impIterAggr1 implements IteratorAggregate --SKIPIF-- -<?php if (!extension_loaded("extention_for_tests")) print "skip"; ?> +<?php if (!extension_loaded("extension_for_tests")) print "skip"; ?> --FILEEOF-- <?php require dirname(__FILE__) . '/../../include/valueiterator/1.php'; |