projects
/
tinc
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
87c57842b613791e656bfa9de67cab624fe3dd67
[tinc]
/
test
/
basic.test
1
#!/bin/sh
2
3
. ./testlib.sh
4
5
echo [STEP] Initialize and test one node
6
7
tinc foo <<EOF
8
init foo
9
set DeviceType dummy
10
set Port 0
11
EOF
12
13
echo [STEP] Test running in the foreground
14
15
create_script foo tinc-up '
16
tinc foo stop &
17
'
18
start_tinc foo -D
19
20
echo [STEP] Test running tinc in the background
21
22
create_script foo tinc-up '
23
tinc foo stop &
24
'
25
start_tinc foo