Commit a97cc62b authored by Seth Howell's avatar Seth Howell Committed by Daniel Verkamp
Browse files

test/iscsi: skip calsoft tests if unavailable



Change-Id: I07f4ad418983a4b9693f7e5f1392a0b1721007d8
Signed-off-by: default avatarSeth Howell <seth.howell@intel.com>
parent c0a54a76
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -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