projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix macos build
[tinc]
/
test
/
ns-ping.test
diff --git
a/test/ns-ping.test
b/test/ns-ping.test
index
43e1b20
..
5a5415c
100755
(executable)
--- a/
test/ns-ping.test
+++ b/
test/ns-ping.test
@@
-1,6
+1,6
@@
#!/bin/sh
#!/bin/sh
-.
./testlib.sh
+.
"${0%/*}/testlib.sh"
# Skip this test if we aren't root or if "ip netns" does not exist
# Skip this test if we aren't root or if "ip netns" does not exist
@@
-11,10
+11,11
@@
ip netns list || exit 77
$tinc $c1 <<EOF
init foo
$tinc $c1 <<EOF
init foo
-set
Mode switch
+set
Subnet 192.168.1.1
set Interface ping.test1
set Port 32577
set Address localhost
set Interface ping.test1
set Port 32577
set Address localhost
+set AutoConnect no
EOF
cat >$d1/tinc-up <<EOF
EOF
cat >$d1/tinc-up <<EOF
@@
-27,9
+28,10
@@
EOF
$tinc $c2 <<EOF
init bar
$tinc $c2 <<EOF
init bar
-set
Mode switch
+set
Subnet 192.168.1.2
set Interface ping.test2
set Port 32574
set Interface ping.test2
set Port 32574
+set AutoConnect no
EOF
cat >$d2/tinc-up <<EOF
EOF
cat >$d2/tinc-up <<EOF