diff options
author | Tobias Brunner <tobias@strongswan.org> | 2014-02-07 17:58:41 +0100 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2014-02-12 14:08:34 +0100 |
commit | 96e8715e3288c8acdf16d60e220cef3d101e87a8 (patch) | |
tree | 334989e975bb1cabb48343452222132326af7ded /testing/tests/ikev2/ip-pool-db | |
parent | de7f5305d9edd2267c8699acde2655e8fd153bb5 (diff) | |
download | strongswan-96e8715e3288c8acdf16d60e220cef3d101e87a8.tar.bz2 strongswan-96e8715e3288c8acdf16d60e220cef3d101e87a8.tar.xz |
testing: Use installed SQL schema instead of local copy
Diffstat (limited to 'testing/tests/ikev2/ip-pool-db')
-rw-r--r-- | testing/tests/ikev2/ip-pool-db/pretest.dat | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testing/tests/ikev2/ip-pool-db/pretest.dat b/testing/tests/ikev2/ip-pool-db/pretest.dat index fce551c69..2327eb983 100644 --- a/testing/tests/ikev2/ip-pool-db/pretest.dat +++ b/testing/tests/ikev2/ip-pool-db/pretest.dat @@ -1,4 +1,4 @@ -moon::cat /etc/ipsec.d/tables.sql > /etc/ipsec.d/ipsec.sql +moon::cat /usr/local/share/strongswan/templates/database/sql/sqlite.sql > /etc/ipsec.d/ipsec.sql moon::cat /etc/ipsec.d/ipsec.sql | sqlite3 /etc/ipsec.d/ipsec.db moon::ipsec pool --add bigpool --start 10.3.0.1 --end 10.3.3.232 --timeout 0 2> /dev/null moon::ipsec pool --addattr dns --server PH_IP_WINNETOU 2> /dev/null @@ -10,7 +10,7 @@ dave::iptables-restore < /etc/iptables.rules carol::ipsec start dave::ipsec start moon::ipsec start -carol::sleep 2 +carol::sleep 2 carol::ipsec up home dave::ipsec up home carol::sleep 1 |