diff options
author | Andreas Steffen <andreas.steffen@strongswan.org> | 2014-05-31 20:23:15 +0200 |
---|---|---|
committer | Andreas Steffen <andreas.steffen@strongswan.org> | 2014-05-31 21:25:46 +0200 |
commit | 2382d45b1c756cc100314318b47e4953745a060e (patch) | |
tree | c77ced23ed99a718195ef8c9f47ef0014680b78f /testing/tests/tnc/tnccs-20-pdp-pt-tls/pretest.dat | |
parent | 59db6660946a92b1919753572b7c6643d3dbe6c4 (diff) | |
download | strongswan-2382d45b1c756cc100314318b47e4953745a060e.tar.bz2 strongswan-2382d45b1c756cc100314318b47e4953745a060e.tar.xz |
Test SWID REST API ins tnc/tnccs-20-pdp scenarios
Diffstat (limited to 'testing/tests/tnc/tnccs-20-pdp-pt-tls/pretest.dat')
-rw-r--r-- | testing/tests/tnc/tnccs-20-pdp-pt-tls/pretest.dat | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/testing/tests/tnc/tnccs-20-pdp-pt-tls/pretest.dat b/testing/tests/tnc/tnccs-20-pdp-pt-tls/pretest.dat index 97ff0c1ec..0918909fa 100644 --- a/testing/tests/tnc/tnccs-20-pdp-pt-tls/pretest.dat +++ b/testing/tests/tnc/tnccs-20-pdp-pt-tls/pretest.dat @@ -8,12 +8,15 @@ dave::echo aabbccddeeff11223344556677889900 > /var/lib/dbus/machine-id dave::cat /etc/tnc_config alice::sed -i "s/NOW/`date +%s`/g" /etc/pts/data1.sql alice::cd /usr/local/share/strongswan/templates/database/imv; cat tables.sql data.sql /etc/pts/data1.sql | sqlite3 /etc/pts/config.db +alice::chgrp www-data /etc/pts/config.db; chmod g+w /etc/pts/config.db +alice::service apache2 start alice::ipsec start +alice::sleep 1 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 +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 +carol::sleep 1 |