projects
/
tinc
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Start of a test suite.
[tinc]
/
test
/
basic.test
1
#!/bin/sh
2
3
. ./testlib.sh
4
5
# Initialize and test one node
6
7
rm -rf config1
8
9
$tinc $c1 init foo
10
$tinc $c1 set DeviceType dummy
11
$tinc $c1 set Port 0
12
13
# Test running in the foreground
14
15
(sleep 1; $tinc $c1 stop) &
16
$tinc $c1 start $r1 -D
17
18
# Test running tinc in the background
19
20
$tinc $c1 start $r1
21
sleep 1
22
$tinc $c1 stop