#!/bin/sh
-. ./testlib.sh
+. "${0%/*}/testlib.sh"
# Initialize server node
init foo
set DeviceType dummy
set Port 32759
-set Address localhost
+set Address 127.0.0.1
add Subnet 10.0.0.1
add Subnet fec0::/64
EOF
# Stop server node
$tinc $c1 stop
+sleep 1
+$tinc $c2 stop
# Check if the script output is what is expected