Annotation of embedaddon/strongswan/testing/tests/tnc/tnccs-20-os/pretest.dat, revision 1.1.1.2

1.1       misho       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
1.1.1.2 ! misho       7: moon::sed -i "s/DEBIAN_VERSION/10/" /etc/pts/data1.sql
1.1       misho       8: moon::cd /usr/local/share/strongswan/templates/database/imv; cat tables.sql data.sql /etc/pts/data1.sql | sqlite3 /etc/db.d/config.db
                      9: moon::cat /etc/tnc_config
                     10: carol::cat /etc/tnc_config
                     11: dave::cat /etc/tnc_config
                     12: carol::rm /etc/swanctl/rsa/*
                     13: dave::rm /etc/swanctl/rsa/*
                     14: carol::rm /etc/swanctl/x509/*
                     15: dave::rm /etc/swanctl/x509/*
                     16: moon::systemctl start strongswan
                     17: carol::systemctl start strongswan
                     18: dave::systemctl start strongswan
                     19: moon::expect-connection rw-allow
                     20: moon::expect-connection rw-isolate
                     21: carol::expect-connection home
                     22: carol::swanctl --initiate --child home 2> /dev/null
                     23: dave::expect-connection home
                     24: dave::swanctl --initiate --child home 2> /dev/nullmoon::ipsec attest --packages --product 'Debian 7.9 x86_64'
                     25: moon::ipsec attest --sessions
                     26: moon::ipsec attest --devices

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>