Changeset 412ee84 in mod_gnutls for test/runtests
- Timestamp:
- Nov 25, 2015, 7:05:35 PM (5 years ago)
- Branches:
- asyncio, debian/master, debian/stretch-backports, jessie-backports, master, proxy-ticket, upstream
- Children:
- dff57b4
- Parents:
- a08b25e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
test/runtests
ra08b25e r412ee84 6 6 7 7 set -e 8 . ${srcdir}/common.bash 8 9 9 10 testid="${1##t-}" … … 18 19 BADVARS=0 19 20 for v in APACHE2 TEST_HOST TEST_PORT TEST_QUERY_DELAY TEST_MSVA_WAIT \ 20 MSVA_PORT TEST_LOCK; do21 MSVA_PORT; do 21 22 if [ ! -v "$v" ]; then 22 23 printf "You need to set the %s environment variable\n" "$v" >&2 … … 150 151 fi 151 152 153 TEST_PID="apache2.pid" 152 154 # configure locking for the Apache process 153 flock_cmd="flock -w ${TEST_LOCK_WAIT} $(realpath ${TEST_LOCK})" 155 if [ -n "${TEST_LOCK}" ]; then 156 flock_cmd="${FLOCK} -w ${TEST_LOCK_WAIT} $(realpath ${TEST_LOCK})" 157 else 158 echo "Locking disabled, using wait based on Apache PID file." 159 wait_pid_gone "${TEST_PID}" 160 flock_cmd="" 161 fi 154 162 155 163 t="$(realpath ${testid})"
Note: See TracChangeset
for help on using the changeset viewer.