/testing/guestbin/swan-prep
west #
 ipsec start
Redirecting to: [initsystem]
west #
 ../../guestbin/wait-until-pluto-started
west #
 # this should fail, subnet= rejected by pluto
west #
 ipsec auto --add first
"first": failed to add connection: rightsubnet= invalid, empty field
west #
 # now append a second conn; still rejected by pluto
west #
 echo 'conn second' >> /etc/ipsec.conf
west #
 echo '        left=2.3.4.5' >> /etc/ipsec.conf
west #
 echo '        right=5.6.7.8' >> /etc/ipsec.conf
west #
 ipsec auto --add first
"first": failed to add connection: rightsubnet= invalid, empty field
west #
 echo "initdone"
initdone
west #
