mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-01-18 10:46:33 +00:00
Export variables so that they are accessible by exit function
This commit is contained in:
parent
424e276150
commit
a6d5c452d5
8
.github/workflows/validate-linux.sh
vendored
8
.github/workflows/validate-linux.sh
vendored
@ -32,12 +32,12 @@ test() {
|
||||
|
||||
echo -e "\nRunning test for $RUN_LENGTH seconds"
|
||||
|
||||
NS1="ip netns exec ns1"
|
||||
NS2="ip netns exec ns2"
|
||||
export NS1="ip netns exec ns1"
|
||||
export NS2="ip netns exec ns2"
|
||||
|
||||
ZT1="$NS1 ./zerotier-cli -p9996 -D$(pwd)/node1"
|
||||
export ZT1="$NS1 ./zerotier-cli -p9996 -D$(pwd)/node1"
|
||||
# Specify custom port on one node to ensure that feature works
|
||||
ZT2="$NS2 ./zerotier-cli -p9997 -D$(pwd)/node2"
|
||||
export ZT2="$NS2 ./zerotier-cli -p9997 -D$(pwd)/node2"
|
||||
|
||||
echo -e "\nSetting up network namespaces..."
|
||||
echo "Setting up ns1"
|
||||
|
Loading…
Reference in New Issue
Block a user