]> git.ipfire.org Git - thirdparty/wireguard-go.git/commitdiff
Moved test-processes to background
authorMathias Hall-Andersen <mathias@hall-andersen.dk>
Sun, 11 Feb 2018 22:31:53 +0000 (23:31 +0100)
committerMathias Hall-Andersen <mathias@hall-andersen.dk>
Sun, 11 Feb 2018 22:31:53 +0000 (23:31 +0100)
tests/netns.sh

index 6c47a44f15fb3dbac9dc18058f745bbd61cb2a2f..02d428b1474097ffa523bd7f18276f44379b9480 100755 (executable)
@@ -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)"