isolate unit tests from stackrc HOST_IP check

The HOST_IP check in stackrc is useful for real users, but some cloud
nodes that infra runs don't detect it correctly, and it's not actually
required for unit tests to work right.

Change-Id: Id2aaa713aea91825021e9d8d49d19f3e40a8e6c9
This commit is contained in:
Sean Dague 2015-02-06 15:27:43 -05:00
parent e79678af5e
commit 365421b99a
2 changed files with 2 additions and 3 deletions

View File

@ -8,9 +8,6 @@ TOP=$(cd $(dirname "$0")/.. && pwd)
# Import common functions
source $TOP/functions
# Import configuration
source $TOP/openrc
echo "Testing IP addr functions"

View File

@ -17,6 +17,8 @@ TOP=$(cd $(dirname "$0")/.. && pwd)
export TOP_DIR=$TOP
# we don't actually care about the HOST_IP
HOST_IP="don't care"
# Import common functions
source $TOP/functions
source $TOP/stackrc