X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;ds=sidebyside;f=test%2Ftestlib.sh;h=3d0f990bc37b90a81c51614ec48a31b8cb968755;hb=09dda64ce99668c918fada04b9ad6bf9cd2ab104;hp=e65127d6acf9bd3b20779ad9a30b98195aedcf50;hpb=05a7f0b2fb07f8ee7752604a2a87b85f2430aaa3;p=tinc diff --git a/test/testlib.sh b/test/testlib.sh deleted file mode 100644 index e65127d6..00000000 --- a/test/testlib.sh +++ /dev/null @@ -1,33 +0,0 @@ -#!/bin/sh - -# Paths to executables - -tincd=../src/tincd -tinc=../src/tinc -sptps_test=../src/sptps_test - -# Test directories - -d1=$PWD/$_.1 -d2=$PWD/$_.2 -d3=$PWD/$_.3 - -# Remove test directories - -rm -rf $d1 $d2 $d3 - -# Default arguments for both tinc and tincd - -c1="--config=$d1 --pidfile=$d1/pid" -c2="--config=$d2 --pidfile=$d2/pid" -c3="--config=$d3 --pidfile=$d3/pid" - -# Arguments when running tincd - -r1="--logfile=$d1/log -d5" -r2="--logfile=$d1/log -d5" -r3="--logfile=$d1/log -d5" - -# Exit on errors, log all commands being executed - -set -ex