/testing/guestbin/swan-prep
west #
 ipsec start
Redirecting to: [initsystem]
west #
 ../../guestbin/wait-until-pluto-started
west #
 ipsec whack --impair revival
west #
 ipsec auto --add westnet-eastnet
002 "westnet-eastnet": added IKEv1 connection
west #
 echo "initdone"
initdone
west #
 # create a partial state on east, don't hold the hack for retransmit
west #
 ipsec whack --impair drop-i2
west #
 ipsec whack --impair delete-on-retransmit
west #
 ipsec auto --up westnet-eastnet
002 "westnet-eastnet" #1: initiating IKEv1 Main Mode connection
1v1 "westnet-eastnet" #1: sent Main Mode request
002 "westnet-eastnet" #1: IMPAIR: retransmit so deleting SA
002 "westnet-eastnet" #1: deleting state (STATE_MAIN_I1) and NOT sending notification
002 "westnet-eastnet" #1: IMPAIR: skipping revival of connection that is supposed to remain up
west #
 # we are waiting for east to expire the partial IKE state in 1+1+2+4+8+16+32 secs
west #
 sleep 30
west #
 sleep 30
west #
 sleep 10
west #
 echo done
done
west #
 # on east, we should see no more partial state
west #
 ipsec showstates
west #
 
