mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-05 03:53:44 +02:00
Export variables so that they are accessible by exit function
This commit is contained in:
parent
424e276150
commit
a6d5c452d5
1 changed files with 4 additions and 4 deletions
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"
|
echo -e "\nRunning test for $RUN_LENGTH seconds"
|
||||||
|
|
||||||
NS1="ip netns exec ns1"
|
export NS1="ip netns exec ns1"
|
||||||
NS2="ip netns exec ns2"
|
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
|
# 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 -e "\nSetting up network namespaces..."
|
||||||
echo "Setting up ns1"
|
echo "Setting up ns1"
|
||||||
|
|
Loading…
Add table
Reference in a new issue