testing: Use installed PTS SQL schema and data instead of local copy
[strongswan.git] / testing / tests / tnc / tnccs-20-pts / pretest.dat
1 moon::iptables-restore < /etc/iptables.rules
2 carol::iptables-restore < /etc/iptables.rules
3 dave::iptables-restore < /etc/iptables.rules
4 carol::echo 0 > /proc/sys/net/ipv4/ip_forward
5 dave::echo aabbccddeeff11223344556677889900 > /var/lib/dbus/machine-id
6 moon::cd /usr/local/share/strongswan/templates/database/imv; cat tables.sql data.sql /etc/pts/data1.sql | sqlite3 /etc/pts/config.db
7 moon::cat /etc/tnc_config
8 carol::cat /etc/tnc_config
9 dave::cat /etc/tnc_config
10 moon::ipsec start
11 dave::ipsec start
12 carol::ipsec start
13 dave::sleep 1
14 dave::ipsec up home
15 carol::ipsec up home
16 carol::sleep 1
17 moon::ipsec attest --sessions
18 moon::ipsec attest --devices