Browse code

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

Sean Dague authored on 2015/02/07 05:27:43
Showing 2 changed files
... ...
@@ -8,9 +8,6 @@ TOP=$(cd $(dirname "$0")/.. && pwd)
8 8
 # Import common functions
9 9
 source $TOP/functions
10 10
 
11
-# Import configuration
12
-source $TOP/openrc
13
-
14 11
 
15 12
 echo "Testing IP addr functions"
16 13
 
... ...
@@ -17,6 +17,8 @@ TOP=$(cd $(dirname "$0")/.. && pwd)
17 17
 
18 18
 export TOP_DIR=$TOP
19 19
 
20
+# we don't actually care about the HOST_IP
21
+HOST_IP="don't care"
20 22
 # Import common functions
21 23
 source $TOP/functions
22 24
 source $TOP/stackrc