aboutsummaryrefslogtreecommitdiffstats
path: root/testing/tests/sql/rw-rsa-keyid
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2014-02-07 17:58:41 +0100
committerTobias Brunner <tobias@strongswan.org>2014-02-12 14:08:34 +0100
commit96e8715e3288c8acdf16d60e220cef3d101e87a8 (patch)
tree334989e975bb1cabb48343452222132326af7ded /testing/tests/sql/rw-rsa-keyid
parentde7f5305d9edd2267c8699acde2655e8fd153bb5 (diff)
downloadstrongswan-96e8715e3288c8acdf16d60e220cef3d101e87a8.tar.bz2
strongswan-96e8715e3288c8acdf16d60e220cef3d101e87a8.tar.xz
testing: Use installed SQL schema instead of local copy
Diffstat (limited to 'testing/tests/sql/rw-rsa-keyid')
-rw-r--r--testing/tests/sql/rw-rsa-keyid/pretest.dat6
1 files changed, 3 insertions, 3 deletions
diff --git a/testing/tests/sql/rw-rsa-keyid/pretest.dat b/testing/tests/sql/rw-rsa-keyid/pretest.dat
index fdd4df5f9..6d56ede09 100644
--- a/testing/tests/sql/rw-rsa-keyid/pretest.dat
+++ b/testing/tests/sql/rw-rsa-keyid/pretest.dat
@@ -1,9 +1,9 @@
moon::rm /etc/ipsec.d/cacerts/*
carol::rm /etc/ipsec.d/cacerts/*
dave::rm /etc/ipsec.d/cacerts/*
-moon::cat /etc/ipsec.d/tables.sql /etc/ipsec.d/data.sql > /etc/ipsec.d/ipsec.sql
-carol::cat /etc/ipsec.d/tables.sql /etc/ipsec.d/data.sql > /etc/ipsec.d/ipsec.sql
-dave::cat /etc/ipsec.d/tables.sql /etc/ipsec.d/data.sql > /etc/ipsec.d/ipsec.sql
+moon::cat /usr/local/share/strongswan/templates/database/sql/sqlite.sql /etc/ipsec.d/data.sql > /etc/ipsec.d/ipsec.sql
+carol::cat /usr/local/share/strongswan/templates/database/sql/sqlite.sql /etc/ipsec.d/data.sql > /etc/ipsec.d/ipsec.sql
+dave::cat /usr/local/share/strongswan/templates/database/sql/sqlite.sql /etc/ipsec.d/data.sql > /etc/ipsec.d/ipsec.sql
moon::cat /etc/ipsec.d/ipsec.sql | sqlite3 /etc/ipsec.d/ipsec.db
carol::cat /etc/ipsec.d/ipsec.sql | sqlite3 /etc/ipsec.d/ipsec.db
dave::cat /etc/ipsec.d/ipsec.sql | sqlite3 /etc/ipsec.d/ipsec.db