7 sptps_test=../src/sptps_test
24 # Default arguments for both tinc and tincd
26 c1="--config=$d1 --pidfile=$d1/pid"
27 c2="--config=$d2 --pidfile=$d2/pid"
28 c3="--config=$d3 --pidfile=$d3/pid"
30 # Arguments when running tincd
32 r1="--logfile=$d1/log -d5"
33 r2="--logfile=$d2/log -d5"
34 r3="--logfile=$d3/log -d5"
36 # Check for leftover tinc daemons
38 [ -f $d1/pid ] && $tinc $c1 stop
39 [ -f $d2/pid ] && $tinc $c2 stop
40 [ -f $d3/pid ] && $tinc $c3 stop
42 # Remove test directories
46 # Exit on errors, log all commands being executed