aboutsummaryrefslogtreecommitdiffstats
path: root/testing/tests/sql/net2net-psk/pretest.dat
diff options
context:
space:
mode:
authorAndreas Steffen <andreas.steffen@strongswan.org>2008-05-31 08:53:48 +0000
committerAndreas Steffen <andreas.steffen@strongswan.org>2008-05-31 08:53:48 +0000
commit76340368a6592fee54282d29d80d99264424970f (patch)
treed8e9586ab788fee33da784d8d1cdce595ca386ed /testing/tests/sql/net2net-psk/pretest.dat
parentfe46d8da371e2e816bd52806c593993d39651763 (diff)
downloadstrongswan-76340368a6592fee54282d29d80d99264424970f.tar.bz2
strongswan-76340368a6592fee54282d29d80d99264424970f.tar.xz
divided ipsec.sql into tables.sql and data.sql
Diffstat (limited to 'testing/tests/sql/net2net-psk/pretest.dat')
-rw-r--r--testing/tests/sql/net2net-psk/pretest.dat2
1 files changed, 2 insertions, 0 deletions
diff --git a/testing/tests/sql/net2net-psk/pretest.dat b/testing/tests/sql/net2net-psk/pretest.dat
index e2dca222c..2ab18542f 100644
--- a/testing/tests/sql/net2net-psk/pretest.dat
+++ b/testing/tests/sql/net2net-psk/pretest.dat
@@ -1,5 +1,7 @@
moon::rm /etc/ipsec.d/cacerts/*
sun::rm /etc/ipsec.d/cacerts/*
+moon::cat /etc/ipsec.d/tables.sql /etc/ipsec.d/data.sql > /etc/ipsec.d/ipsec.sql
+sun::cat /etc/ipsec.d/tables.sql /etc/ipsec.d/data.sql > /etc/ipsec.d/ipsec.sql
moon::cat /etc/ipsec.d/ipsec.sql | sqlite3 /etc/ipsec.d/ipsec.db
sun::cat /etc/ipsec.d/ipsec.sql | sqlite3 /etc/ipsec.d/ipsec.db
moon::/etc/init.d/iptables start 2> /dev/null