aboutsummaryrefslogtreecommitdiffstats
path: root/testing/tests/tkm/host2host-initiator
diff options
context:
space:
mode:
authorReto Buerki <reet@codelabs.ch>2014-12-18 17:32:09 +0100
committerMartin Willi <martin@revosec.ch>2015-02-20 13:34:52 +0100
commit8fce649d9aa3e1b36079e3232213ac761e43ed49 (patch)
tree2830658f0f4892fc7682b8548fbb10fb2289c222 /testing/tests/tkm/host2host-initiator
parent94eb09ac354c5dfee033a62c93dabf011e9c9747 (diff)
downloadstrongswan-8fce649d9aa3e1b36079e3232213ac761e43ed49.tar.bz2
strongswan-8fce649d9aa3e1b36079e3232213ac761e43ed49.tar.xz
testing: Assert proper ESA deletion
Extend the tkm/host2host-initiator testcase by asserting proper ESA deletion after connection shutdown.
Diffstat (limited to 'testing/tests/tkm/host2host-initiator')
-rw-r--r--testing/tests/tkm/host2host-initiator/evaltest.dat4
1 files changed, 4 insertions, 0 deletions
diff --git a/testing/tests/tkm/host2host-initiator/evaltest.dat b/testing/tests/tkm/host2host-initiator/evaltest.dat
index d8d44dff6..de50ab32b 100644
--- a/testing/tests/tkm/host2host-initiator/evaltest.dat
+++ b/testing/tests/tkm/host2host-initiator/evaltest.dat
@@ -10,3 +10,7 @@ moon::cat /tmp/tkm.log::Adding policy \[ 1, 192.168.0.1 <-> 192.168.0.2 \]::YES
moon::cat /tmp/tkm.log::Checked CA certificate of CC context 1::YES
moon::cat /tmp/tkm.log::Authentication of ISA context 1 successful::YES
moon::cat /tmp/tkm.log::Adding SA \[ 1, 192.168.0.1 <-> 192.168.0.2, SPI_in.*, SPI_out.*, soft 30, hard 60 \]::YES
+moon::DAEMON_NAME=charon-tkm ipsec down conn1 && sleep 1::no output expected::NO
+moon::cat /var/log/daemon.log::deleting child SA (esa: 1, spi:.*)::YES
+moon::cat /tmp/tkm.log::Resetting ESA context 1::YES
+moon::cat /tmp/tkm.log::Deleting SA \[ 1, 192.168.0.1 <=> 192.168.0.2, SPI_in.*, SPI_out.* \]::YES