X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=test%2Fbasic.test;h=e67c92a485ffda18cdc669d139d70b3a0054623f;hb=f73f697142bd5ce32d9b7273ed73ea798594854d;hp=1277fb0d157fa531f4dd15c0fa08637350426a1b;hpb=05a7f0b2fb07f8ee7752604a2a87b85f2430aaa3;p=meshlink diff --git a/test/basic.test b/test/basic.test index 1277fb0d..e67c92a4 100755 --- a/test/basic.test +++ b/test/basic.test @@ -1,22 +1,4 @@ #!/bin/sh -. ./testlib.sh - -# Initialize and test one node - -rm -rf config1 - -$tinc $c1 init foo -$tinc $c1 set DeviceType dummy -$tinc $c1 set Port 0 - -# Test running in the foreground - -(sleep 1; $tinc $c1 stop) & -$tinc $c1 start $r1 -D - -# Test running tinc in the background - -$tinc $c1 start $r1 -sleep 1 -$tinc $c1 stop +rm -Rf basic_conf +./basic