From 5ccbc77b80678575c1ea671bd0c6c0175ae0b31f Mon Sep 17 00:00:00 2001 From: Athmane Madjoudj Date: Nov 21 2011 11:59:01 +0000 Subject: Workaround php test (don't use hostname) --- diff --git a/tests/p_php/php-test.sh b/tests/p_php/php-test.sh index 9f56325..cdcad18 100755 --- a/tests/p_php/php-test.sh +++ b/tests/p_php/php-test.sh @@ -2,10 +2,10 @@ # Author: Athmane Madjoudj # Author: Christoph Galuschka -t_Log "Running $0 - php can detect correct hostname." +t_Log "Running $0 - php phpinfo() function test." # Comparing hostname with output of phpinfo() -HOST=$(hostname) +#HOST=$(hostname) FILE='/var/tmp/php-test.php' cat > $FILE < '$HOST +php $FILE | grep -q 'Zend Engine' t_CheckExitStatus $?