5 # Initialize three nodes
22 # Test import, export and exchange commands
24 $tinc $c1 export | $tinc $c2 exchange | $tinc $c1 import
26 # Test export-all and exchange-all
28 $tinc $c1 export-all | $tinc $c3 exchange | $tinc $c1 import
29 $tinc $c1 exchange-all </dev/null | $tinc $c2 import
31 # Test equivalence of host config files
33 cmp $d1/hosts/foo $d2/hosts/foo
34 cmp $d1/hosts/foo $d3/hosts/foo
35 cmp $d1/hosts/bar $d2/hosts/bar
36 cmp $d1/hosts/bar $d3/hosts/bar
37 cmp $d1/hosts/baz $d2/hosts/baz
38 cmp $d1/hosts/baz $d3/hosts/baz