/testing/guestbin/swan-prep --x509
Preparing X.509 files
east #
 ipsec start
Redirecting to: systemctl start ipsec.service
east #
 /testing/pluto/bin/wait-until-pluto-started
east #
 ipsec auto --add westnet-eastnet-ikev2
002 added connection description "westnet-eastnet-ikev2"
east #
 echo "initdone"
initdone
east #
 ipsec whack --shutdown
002 shutting down
east #
 grep leak /tmp/pluto.log
leak-detective enabled
leak: EVENT_SD_WATCHDOG, item size: 32
leak: EVENT_LOG_DAILY, item size: 32
leak: EVENT_SHUNT_SCAN, item size: 32
leak: kernel integ, item size: 32
leak: EVENT_PENDING_PHASE2, item size: 32
leak: EVENT_PENDING_DDNS, item size: 32
leak: EVENT_REINIT_SECRET, item size: 32
leak detective found 7 leaks, total size 224
east #
 if [ -n "`ls /tmp/core* 2>/dev/null`" ]; then echo CORE FOUND; mv /tmp/core* OUTPUT/; fi
east #
 if [ -f /sbin/ausearch ]; then ausearch -r -m avc -ts recent ; fi

