diff options
Diffstat (limited to 'testing/tests/tnc/tnccs-20-pt-tls/pretest.dat')
-rw-r--r-- | testing/tests/tnc/tnccs-20-pt-tls/pretest.dat | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/testing/tests/tnc/tnccs-20-pt-tls/pretest.dat b/testing/tests/tnc/tnccs-20-pt-tls/pretest.dat new file mode 100644 index 000000000..2a53977c0 --- /dev/null +++ b/testing/tests/tnc/tnccs-20-pt-tls/pretest.dat @@ -0,0 +1,19 @@ +alice::iptables-restore < /etc/iptables.rules +carol::iptables-restore < /etc/iptables.rules +dave::iptables-restore < /etc/iptables.rules +alice::cat /etc/tnc_config +carol::cat /etc/tnc_config +carol::echo 0 > /proc/sys/net/ipv4/ip_forward +dave::echo aabbccddeeff11223344556677889900 > /var/lib/dbus/machine-id +dave::cat /etc/tnc_config +alice::sed -i "s/NOW/`date +%s`/g" /etc/pts/data.sql +alice::cd /etc/pts; cat tables.sql data.sql data1.sql | sqlite3 config.db +alice::ipsec start +winnetou::ip route add 10.1.0.0/16 via 192.168.0.1 +carol::ip route add 10.1.0.0/16 via 192.168.0.1 +carol::cat /etc/pts/options +carol::ipsec pt-tls-client --optionsfrom /etc/pts/options +dave::ip route add 10.1.0.0/16 via 192.168.0.1 +dave::cat /etc/pts/options +dave::ipsec pt-tls-client --optionsfrom /etc/pts/options +dave::sleep 1 |