Source config.sh using relative path to the script, regardless of current directory.
Sourcing failed when running make integration-tests.
This commit is contained in:
1 parent
0a2beedad3
commit
69398a9d7e
1 file changed
+1
-1
@@ -3,7 +3,7 @@
|
||||
# TODO(mp) 1. test anti-replay 2. test sleeve <-> fastdp
|
||||
# TODO(mp) test with --trusted-subnets
|
||||
|
||||
. ./config.sh
|
||||
. "$(dirname "$0")/config.sh"
|
||||
|
||||
HOST1_IP=$($SSH $HOST1 getent ahosts $HOST1 | grep "RAW" | cut -d' ' -f1)
|
||||
HOST2_IP=$($SSH $HOST2 getent ahosts $HOST2 | grep "RAW" | cut -d' ' -f1)
|
||||
|
||||
Reference in new issue
Block a user