summaryrefslogtreecommitdiff
path: root/testing/tests/ikev2/ip-two-pools-db
diff options
context:
space:
mode:
authorYves-Alexis Perez <corsac@debian.org>2014-03-11 20:48:48 +0100
committerYves-Alexis Perez <corsac@debian.org>2014-03-11 20:48:48 +0100
commitb96bc2fcc06cc6c1762dc193a5117ebcb956e220 (patch)
tree4915ecb47936524433c6578526cc5d25a0d2913c /testing/tests/ikev2/ip-two-pools-db
parent4a7efb286aaf809849d56841b59c2d733e8dff49 (diff)
parent15fb7904f4431a6e7c305fd08732458f7f885e7e (diff)
downloadvyos-strongswan-b96bc2fcc06cc6c1762dc193a5117ebcb956e220.tar.gz
vyos-strongswan-b96bc2fcc06cc6c1762dc193a5117ebcb956e220.zip
Merge tag 'upstream/5.1.2'
Upstream version 5.1.2
Diffstat (limited to 'testing/tests/ikev2/ip-two-pools-db')
-rw-r--r--testing/tests/ikev2/ip-two-pools-db/pretest.dat6
1 files changed, 3 insertions, 3 deletions
diff --git a/testing/tests/ikev2/ip-two-pools-db/pretest.dat b/testing/tests/ikev2/ip-two-pools-db/pretest.dat
index 3aba87994..bb36a2630 100644
--- a/testing/tests/ikev2/ip-two-pools-db/pretest.dat
+++ b/testing/tests/ikev2/ip-two-pools-db/pretest.dat
@@ -1,6 +1,6 @@
-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 extpool --start 10.3.0.1 --end 10.3.1.244 --timeout 48 2> /dev/null
+moon::ipsec pool --add extpool --start 10.3.0.1 --end 10.3.1.244 --timeout 48 2> /dev/null
moon::ipsec pool --add intpool --start 10.4.0.1 --end 10.4.1.244 --timeout 0 2> /dev/null
moon::ipsec pool --addattr dns --server PH_IP_VENUS --pool intpool --identity venus.strongswan.org 2> /dev/null
moon::ipsec pool --addattr dns --server PH_IP_ALICE --pool intpool --identity alice@strongswan.org 2> /dev/null
@@ -18,7 +18,7 @@ venus::ipsec start
carol::ipsec start
dave::ipsec start
moon::ipsec start
-carol::sleep 2
+carol::sleep 2
carol::ipsec up home
dave::ipsec up home
alice::ipsec up home