test/iscsi: skip calsoft tests if unavailable

Change-Id: I07f4ad418983a4b9693f7e5f1392a0b1721007d8
Signed-off-by: Seth Howell <seth.howell@intel.com>
This commit is contained in:
Seth Howell 2017-03-07 14:41:36 -07:00 committed by Daniel Verkamp
parent c0a54a7606
commit a97cc62bcb

View File

@ -3,6 +3,11 @@ testdir=$(readlink -f $(dirname $0))
rootdir=$testdir/../../..
source $rootdir/scripts/autotest_common.sh
if [ ! -d /usr/local/calsoft ]; then
echo "skipping calsoft tests"
exit 0
fi
if [ -z "$TARGET_IP" ]; then
echo "TARGET_IP not defined in environment"
exit 1