Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:11.4
lighttpd
lightytest.sh
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File lightytest.sh of Package lighttpd
#!/bin/sh # this script has a few assumptions: # 1. if port 1026 is in use, another lighttpd test suite is running # 2. if the php on port 1026 is shut down. the lighttpd on 2048 is taken down aswell # # start php fast cgi for the test suite export PHP="/srv/www/cgi-bin/php5" function startphp() { MAX_WAIT=120 SLEEP_TIME=2 for ((i = $MAX_WAIT ; i> 0 ; i-$SLEEP_TIME)) ; do $PHP -b 1026 & PHP_PID="$!" sleep $SLEEP_TIME kill -0 $PHP_PID && return 0 done return 1 } startphp || exit 1 make check RC="$?" kill $PHP_PID ||: exit $RC
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor