]> git.meshlink.io Git - meshlink/blobdiff - test/basic.test
Replace rand() by xoshiro256** with per-mesh state.
[meshlink] / test / basic.test
index b181e7540c7298878dfeb6d6bf24d3e2c93d8c71..e67c92a485ffda18cdc669d139d70b3a0054623f 100755 (executable)
@@ -1,20 +1,4 @@
 #!/bin/sh
 
-. ./testlib.sh
-
-# Initialize and test one node
-
-$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