#!/bin/sh

if [ -d "$ADTTMP" ] ; then
    cd "$ADTTMP"
fi

esorex --recipes
if [ $? != 0 ] ; then
    echo "Recipe listing failure"
    exit 1
fi

RECIPE=amber_SciCal

esorex --man-page ${RECIPE}
if [ $? != 0 ] ; then
    echo "Recipe doc printing failure"
    exit 1
fi
esorex --param ${RECIPE}
if [ $? != 0 ] ; then
    echo "Recipe parameter listing failure"
    exit 1
fi
cat esorex.log
rm -f esorex.log
