testing: Lower batch size to demonstrated segmetation of TCG/SWID Tag ID Inventory...
[strongswan.git] / testing / tests / tnc / tnccs-20-os / 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::sed -i "s/NOW/`date +%s`/g" /etc/pts/data1.sql
7 moon::sed -i "s:DEBIAN_VERSION:\`cat /etc/debian_version\`:" /etc/pts/data1.sql
8 moon::cd /usr/local/share/strongswan/templates/database/imv; cat tables.sql data.sql /etc/pts/data1.sql | sqlite3 /etc/pts/config.db
9 moon::cat /etc/tnc_config
10 carol::cat /etc/tnc_config
11 dave::cat /etc/tnc_config
12 moon::ipsec start
13 carol::ipsec start
14 dave::ipsec start
15 carol::sleep 1
16 carol::ipsec up home
17 dave::ipsec up home
18 dave::sleep 1
19 moon::ipsec attest --packages --product 'Debian 7.4 x86_64'
20 moon::ipsec attest --sessions
21 moon::ipsec attest --devices