3 echo "Usage: $0 cdrom mountpoint [tests]">&2
7 # support VNC=1 for automatically starting up vncviewer while running tests
8 # if $VNCVIEWER isn't set try to figure out which one could be used
9 if [ -z "$VNCVIEWER" ] ; then
10 for vncviewer in xvnc4viewer Xtightvnc x11vnc vncviewer; do
11 [[ -n ${commands[$vncviewer]} ]] && export VNCVIEWER=$vncviewer
16 export KERNEL=$(find "$2"/boot/ -name linux26)
17 export INITRD=$(find "$2"/boot/ -name initrd.gz)
18 export CMDLINE_COMMON="$(awk '/append/ { $1 = $2 = ""; print }' "$2/boot/isolinux/default.cfg")"
23 export SERVER_STATUS="$PWD/webserver.py"
24 export FRAMEWORK="$PWD/framework.sh"
31 for dir in $TESTS ; do
32 [ ! -x $dir ] && continue