testing: Use installed PTS SQL schema and data instead of local copy
[strongswan.git] / testing / tests / tnc / tnccs-11-radius-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 alice::ln -s /etc/freeradius/sites-available/inner-tunnel-second /etc/freeradius/sites-enabled/inner-tunnel-second
7 alice::cat /etc/freeradius/sites-enabled/inner-tunnel-second
8 alice::cd /usr/local/share/strongswan/templates/database/imv; cat tables.sql data.sql /etc/pts/data1.sql | sqlite3 /etc/pts/config.db
9 alice::LEAK_DETECTIVE_DISABLE=1 LOG4CXX_CONFIGURATION=/etc/tnc/log4cxx.properties radiusd
10 alice::cat /etc/tnc_config
11 carol::cat /etc/tnc_config
12 dave::cat /etc/tnc_config
13 moon::ipsec start
14 dave::ipsec start
15 carol::ipsec start
16 dave::sleep 1
17 dave::ipsec up home
18 carol::ipsec up home
19 carol::sleep 1
20 alice::ipsec attest --sessions
21 alice::ipsec attest --devices