test/iscsi: skip calsoft tests if unavailable
Change-Id: I07f4ad418983a4b9693f7e5f1392a0b1721007d8 Signed-off-by: Seth Howell <seth.howell@intel.com>
This commit is contained in:
parent
c0a54a7606
commit
a97cc62bcb
@ -3,6 +3,11 @@ testdir=$(readlink -f $(dirname $0))
|
|||||||
rootdir=$testdir/../../..
|
rootdir=$testdir/../../..
|
||||||
source $rootdir/scripts/autotest_common.sh
|
source $rootdir/scripts/autotest_common.sh
|
||||||
|
|
||||||
|
if [ ! -d /usr/local/calsoft ]; then
|
||||||
|
echo "skipping calsoft tests"
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
|
||||||
if [ -z "$TARGET_IP" ]; then
|
if [ -z "$TARGET_IP" ]; then
|
||||||
echo "TARGET_IP not defined in environment"
|
echo "TARGET_IP not defined in environment"
|
||||||
exit 1
|
exit 1
|
||||||
|
Loading…
Reference in New Issue
Block a user