Axis and SoapServer interop tests
This commit is contained in:
15
src/BeSimple/SoapClient/Tests/bin/phpwebserver.sh
Normal file
15
src/BeSimple/SoapClient/Tests/bin/phpwebserver.sh
Normal file
@ -0,0 +1,15 @@
|
||||
#!/bin/bash
|
||||
|
||||
DIR="$( cd -P "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
cd $DIR
|
||||
|
||||
php -S localhost:8081 -t "$DIR/.."&
|
||||
|
||||
echo "Waiting until PHP webserver is ready on port 8081"
|
||||
while [[ -z `curl -s 'http://localhost:8081' ` ]]
|
||||
do
|
||||
echo -n "."
|
||||
sleep 2s
|
||||
done
|
||||
|
||||
echo "PHP webserver is up"
|
Reference in New Issue
Block a user