summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorJoseph Henry <[email protected]>2023-08-11 10:35:42 -0700
committerJoseph Henry <[email protected]>2023-08-11 10:35:42 -0700
commita6d5c452d5b54d7e0479570cb40f110be0717f10 (patch)
tree65d10a5df287bf769bfefa391c7cf4d7145288a0 /.github/workflows
parent424e2761503d8a507c1391645fe9d3002593103c (diff)
Export variables so that they are accessible by exit function
Diffstat (limited to '.github/workflows')
-rwxr-xr-x.github/workflows/validate-linux.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/.github/workflows/validate-linux.sh b/.github/workflows/validate-linux.sh
index abe31860..61670d67 100755
--- a/.github/workflows/validate-linux.sh
+++ b/.github/workflows/validate-linux.sh
@@ -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"