aboutsummaryrefslogtreecommitdiffstats
path: root/tests/netns.sh
diff options
context:
space:
mode:
authorMathias Hall-Andersen <mathias@hall-andersen.dk>2018-02-11 23:31:53 +0100
committerMathias Hall-Andersen <mathias@hall-andersen.dk>2018-02-11 23:31:53 +0100
commit77285c99aa30eb802d0281175990e6809501ec18 (patch)
treee939f1c2e4c09d871918a08e9646572e318e6cf1 /tests/netns.sh
parentTUN status hack was causing spam during shutdown (diff)
downloadwireguard-go-77285c99aa30eb802d0281175990e6809501ec18.tar.xz
wireguard-go-77285c99aa30eb802d0281175990e6809501ec18.zip
Moved test-processes to background
Diffstat (limited to 'tests/netns.sh')
-rwxr-xr-xtests/netns.sh4
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)"