aboutsummaryrefslogtreecommitdiffstats
path: root/testing/tests/tnc/tnccs-20-os
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2014-02-07 18:03:02 +0100
committerTobias Brunner <tobias@strongswan.org>2014-02-12 14:08:34 +0100
commit9942e43dc6767cd07e26c4f03154f3da3df9deac (patch)
tree12917c9fa20b0a07c1266e3de139612ce9e8974a /testing/tests/tnc/tnccs-20-os
parent96e8715e3288c8acdf16d60e220cef3d101e87a8 (diff)
downloadstrongswan-9942e43dc6767cd07e26c4f03154f3da3df9deac.tar.bz2
strongswan-9942e43dc6767cd07e26c4f03154f3da3df9deac.tar.xz
testing: Use installed PTS SQL schema and data instead of local copy
Diffstat (limited to 'testing/tests/tnc/tnccs-20-os')
-rw-r--r--testing/tests/tnc/tnccs-20-os/pretest.dat6
1 files changed, 3 insertions, 3 deletions
diff --git a/testing/tests/tnc/tnccs-20-os/pretest.dat b/testing/tests/tnc/tnccs-20-os/pretest.dat
index e1434e481..0ac88dd8d 100644
--- a/testing/tests/tnc/tnccs-20-os/pretest.dat
+++ b/testing/tests/tnc/tnccs-20-os/pretest.dat
@@ -4,13 +4,13 @@ dave::iptables-restore < /etc/iptables.rules
carol::echo 0 > /proc/sys/net/ipv4/ip_forward
dave::echo aabbccddeeff11223344556677889900 > /var/lib/dbus/machine-id
moon::sed -i "s/NOW/`date +%s`/g" /etc/pts/data1.sql
-moon::cd /etc/pts; cat tables.sql data.sql data1.sql | sqlite3 config.db
+moon::cd /usr/local/share/strongswan/templates/database/imv; cat tables.sql data.sql /etc/pts/data1.sql | sqlite3 /etc/pts/config.db
moon::cat /etc/tnc_config
carol::cat /etc/tnc_config
dave::cat /etc/tnc_config
moon::ipsec start
-carol::ipsec start
-dave::ipsec start
+carol::ipsec start
+dave::ipsec start
carol::sleep 1
carol::ipsec up home
dave::ipsec up home