7 sptps_test=../src/sptps_test
8 sptps_keypair=../src/sptps_keypair
25 # Default arguments for both tinc and tincd
27 c1="--config=$d1 --pidfile=$d1/pid"
28 c2="--config=$d2 --pidfile=$d2/pid"
29 c3="--config=$d3 --pidfile=$d3/pid"
31 # Arguments when running tincd
33 r1="--logfile=$d1/log -d5"
34 r2="--logfile=$d2/log -d5"
35 r3="--logfile=$d3/log -d5"
37 # Check for leftover tinc daemons
39 [ -f $d1/pid ] && $tinc $c1 stop
40 [ -f $d2/pid ] && $tinc $c2 stop
41 [ -f $d3/pid ] && $tinc $c3 stop
43 # Remove test directories
47 # Exit on errors, log all commands being executed