Implement net2net-xfrmproxy integration test
[strongswan.git] / testing / tests / tkm / net2net-xfrmproxy / pretest.dat
1 sun::ipsec start
2 moon::rm /etc/ipsec.secrets
3 moon::tkm_cfgtool -c /etc/tkm/tkm.conf -i /etc/ipsec.conf -t /etc/tkm/tkm.bin -s /usr/local/share/tkm/tkmconfig.xsd
4 moon::cat /etc/ipsec.conf
5 moon::tkm_keymanager -c /etc/tkm/tkm.bin -k /etc/tkm/moonKey.der -r /etc/tkm/strongswanCert.der >/tmp/tkm.log 2>&1 &
6 moon::expect-file /tmp/tkm.rpc.ike
7 moon::DAEMON_NAME=charon-tkm ipsec start
8 moon::expect-file /tmp/tkm.rpc.ees
9 moon::xfrm_proxy >/tmp/xfrm_proxy.log 2>&1 &
10 moon::DAEMON_NAME=charon-tkm expect-connection conn1
11 sun::expect-connection net-net
12 alice::ping -c 3 PH_IP_BOB