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
@@ -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"
@@ -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"
source $TOP/stackrc