case ${PLATFORM} in
hw)
- RUMPBAKE="rumprun-bake hw_generic"
+ RUMPBAKE_PLATFORM='hw_generic'
;;
xen)
- RUMPBAKE="rumprun-bake xen_pv"
+ RUMPBAKE_PLATFORM='xen_pv'
;;
*)
echo ">> unknown platform \"$PLATFORM\""
esac
export PATH="${PATH}:${RRDEST}/bin"
- export RUMPBAKE
+ export RUMPBAKE_PLATFORM
make
# SUCH DAMAGE.
#
-[ -n "${RUMPRUN_SHCONF}" ] || { echo '>> need RUMPRUN_SHCONF'; exit 1; }
-. "${RUMPRUN_SHCONF}"
-
-export PATH="${PATH}:${RRDEST}/bin"
+[ -n "${RUMPRUN}" ] || { echo '>> need RUMPRUN set in env'; exit 1; }
cd $(dirname $0) || die 'could not enter test dir'
# img2=$3
[ -n "${img1}" ] || die runtest without a disk image
- cookie=$(rumprun ${OPT_SUDO} ${STACK} -b ${img1} ${testprog} __test)
+ cookie=$(${RUMPRUN} ${OPT_SUDO} ${STACK} -b ${img1} ${testprog} __test)
if [ $? -ne 0 -o -z "${cookie}" ]; then
TEST_RESULT=ERROR
TEST_ECODE=-2