it checks the logfiles to see if servers have come up. Takes 0.14s.
- set addrlen value when calling recvfrom.
- comparison of addrs more portable.
+ - LIBEVENT option for testbed to set libevent directory.
6 February 2007: Wouter
- reviewed code and improved in places.
if test x$LDNS != x; then
DISABLE="--with-ldns=$LDNS $DISABLE"
fi
+ if test x$LIBEVENT != x; then
+ DISABLE="--with-libevent=$LIBEVENT $DISABLE"
+ fi
echossh $1 "cd $2; if test ! -f config.h -o configure -nt config.h; then ./configure $CONFIGURE_FLAGS $DISABLE; fi"
echossh $1 "cd $2; if test -f "'"`which gmake`"'"; then gmake; else $MAKE_CMD; fi"
echossh $1 "cd $2; if test -f "'"`which gmake`"'"; then gmake doc; else $MAKE_CMD doc; fi"
FIXCONFIGURE=no
RUN_TEST=yes
LDNS=
+ LIBEVENT=
eval ${vars[$i]}
echo "*** ${hostname[$i]} ${desc[$i]} ***" | tee -a $LOG_FILE | tee -a $REPORT_FILE
dotest ${hostname[$i]} ${dir[$i]} 2>&1 | tee -a $LOG_FILE
forces --with-ldns=<dir> to be passed to ./configure. In case LDNS is not
installed on the system itself, but present somewhere else.
+You can also set LIBEVENT=<dir> for the libevent directory, if it is
+installed in a nonstandard location.
+
*** Running the testbed
Run by executing the script. It will take all the hosts from the file in