/testing/guestbin/swan-prep --x509
Preparing X.509 files
east #
 ipsec start
Redirecting to: [initsystem]
east #
 /testing/pluto/bin/wait-until-pluto-started
east #
 ipsec auto --add east
002 added IKEv2 connection "east"
east #
 ipsec whack --impair revival
east #
 ipsec whack --impair rekey-respond-subnet
east #
 echo "initdone"
initdone
east #
 # should see #2 and #3 on east
east #
 # only #2 on the road
east #
 ipsec trafficstatus
006 #2: "east"[1] 192.1.2.254, type=ESP, add_time=1234567890, inBytes=84, outBytes=84, id='C=CA, ST=Ontario, L=Toronto, O=Libreswan, OU=Test Department, CN=road.testing.libreswan.org, E=user-road@testing.libreswan.org', lease=192.0.2.100/32
006 #3: "east"[1] 192.1.2.254, type=ESP, add_time=1234567890, inBytes=0, outBytes=0, id='C=CA, ST=Ontario, L=Toronto, O=Libreswan, OU=Test Department, CN=road.testing.libreswan.org, E=user-road@testing.libreswan.org', lease=192.0.2.100/32
east #
 # should not find a match
east #
 grep "Notify Message Type: v2N_TS_UNACCEPTABLE" /tmp/pluto.log
east #
 # road fail to rekey and no clear log message to grep
east #
 ../bin/check-for-core.sh
east #
 if [ -f /sbin/ausearch ]; then ausearch -r -m avc -ts recent ; fi
east #
 
