diff options
author | Mathias Hall-Andersen <mathias@hall-andersen.dk> | 2018-02-11 23:31:53 +0100 |
---|---|---|
committer | Mathias Hall-Andersen <mathias@hall-andersen.dk> | 2018-02-11 23:31:53 +0100 |
commit | 77285c99aa30eb802d0281175990e6809501ec18 (patch) | |
tree | e939f1c2e4c09d871918a08e9646572e318e6cf1 /tests/netns.sh | |
parent | 6cba91999c8b43dc979e707f7bbbaabf786f68bd (diff) |
Moved test-processes to background
Diffstat (limited to 'tests/netns.sh')
-rwxr-xr-x | tests/netns.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/netns.sh b/tests/netns.sh index 6c47a44..02d428b 100755 --- a/tests/netns.sh +++ b/tests/netns.sh @@ -80,11 +80,11 @@ pp ip netns add $netns2 ip0 link set up dev lo # ip0 link add dev wg1 type wireguard -n0 $program -f wg1 & +n0 $program wg1 ip0 link set wg1 netns $netns1 # ip0 link add dev wg1 type wireguard -n0 $program -f wg2 & +n0 $program wg2 ip0 link set wg2 netns $netns2 key1="$(pp wg genkey)" |