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