summaryrefslogtreecommitdiff
path: root/test/discovery.test
blob: 60db1dc2231fe6c76afbf4b3cf52383d6443e885 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
test:
	spawn on node1 as p1
	spawn on node2 as p2
	send "create-identity Device1" to p1
	send "create-identity Device2" to p2
	send "start-server" to p1
	send "start-server" to p2
	expect from p1:
		/peer 1 addr 192.168.0.12 29665/
		/peer 1 id Device2/
	expect from p2:
		/peer 1 addr 192.168.0.11 29665/
		/peer 1 id Device1/