projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Enable and fix many extra warnings supported by GCC and Clang.
[tinc]
/
test
/
invite-join.test
diff --git
a/test/invite-join.test
b/test/invite-join.test
index
58edd4a
..
7915581
100755
(executable)
--- a/
test/invite-join.test
+++ b/
test/invite-join.test
@@
-1,6
+1,5
@@
#!/bin/sh
#!/bin/sh
-# shellcheck source=testlib.sh
. ./testlib.sh
echo [STEP] Initialize one node
. ./testlib.sh
echo [STEP] Initialize one node
@@
-18,7
+17,8
@@
start_tinc foo
echo [STEP] Generate an invitation and let another node join the VPN
echo [STEP] Generate an invitation and let another node join the VPN
-tinc foo invite bar | tinc bar join
+invitation=$(tinc foo invite bar)
+tinc bar join "$invitation"
echo [STEP] Test equivalence of host config files
echo [STEP] Test equivalence of host config files