aboutsummaryrefslogtreecommitdiffstats
path: root/testing/tests/ikev2/ip-two-pools-db/pretest.dat
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2015-11-06 17:27:45 +0100
committerTobias Brunner <tobias@strongswan.org>2015-11-09 15:18:39 +0100
commit10051b01e9a5accf004f861e7de8486304a550ca (patch)
tree4905974f51347cdb534e955182c31b501ecde470 /testing/tests/ikev2/ip-two-pools-db/pretest.dat
parent3102da20a796d7b176624b63fe56e7835fb14ab8 (diff)
downloadstrongswan-10051b01e9a5accf004f861e7de8486304a550ca.tar.bz2
strongswan-10051b01e9a5accf004f861e7de8486304a550ca.tar.xz
testing: Reduce runtime of all tests that use SQLite databases by storing them in ramfs
Diffstat (limited to 'testing/tests/ikev2/ip-two-pools-db/pretest.dat')
-rw-r--r--testing/tests/ikev2/ip-two-pools-db/pretest.dat4
1 files changed, 2 insertions, 2 deletions
diff --git a/testing/tests/ikev2/ip-two-pools-db/pretest.dat b/testing/tests/ikev2/ip-two-pools-db/pretest.dat
index 3dfd974ef..e9542d3a3 100644
--- a/testing/tests/ikev2/ip-two-pools-db/pretest.dat
+++ b/testing/tests/ikev2/ip-two-pools-db/pretest.dat
@@ -1,5 +1,5 @@
-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::cat /usr/local/share/strongswan/templates/database/sql/sqlite.sql > /etc/db.d/ipsec.sql
+moon::cat /etc/db.d/ipsec.sql | sqlite3 /etc/db.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 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