diff options
author | Tobias Brunner <tobias@strongswan.org> | 2015-11-06 17:27:45 +0100 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2015-11-09 15:18:39 +0100 |
commit | 10051b01e9a5accf004f861e7de8486304a550ca (patch) | |
tree | 4905974f51347cdb534e955182c31b501ecde470 /testing/tests/tnc/tnccs-11-radius-pts/pretest.dat | |
parent | 3102da20a796d7b176624b63fe56e7835fb14ab8 (diff) | |
download | strongswan-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/tnc/tnccs-11-radius-pts/pretest.dat')
-rw-r--r-- | testing/tests/tnc/tnccs-11-radius-pts/pretest.dat | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/testing/tests/tnc/tnccs-11-radius-pts/pretest.dat b/testing/tests/tnc/tnccs-11-radius-pts/pretest.dat index aeac9d388..31ee7d1c7 100644 --- a/testing/tests/tnc/tnccs-11-radius-pts/pretest.dat +++ b/testing/tests/tnc/tnccs-11-radius-pts/pretest.dat @@ -5,11 +5,8 @@ carol::echo 0 > /proc/sys/net/ipv4/ip_forward dave::echo aabbccddeeff11223344556677889900 > /var/lib/dbus/machine-id alice::ln -s /etc/freeradius/sites-available/inner-tunnel-second /etc/freeradius/sites-enabled/inner-tunnel-second alice::cat /etc/freeradius/sites-enabled/inner-tunnel-second -alice::mv /etc/pts/data1.sql /tmp/ -alice::mount -t ramfs -o size=5m ramfs /etc/pts -alice::mv /tmp/data1.sql /etc/pts/ alice::sed -i "s:DEBIAN_VERSION:\`cat /etc/debian_version\`:" /etc/pts/data1.sql -alice::cd /usr/local/share/strongswan/templates/database/imv; cat tables.sql data.sql /etc/pts/data1.sql | sqlite3 /etc/pts/config.db +alice::cd /usr/local/share/strongswan/templates/database/imv; cat tables.sql data.sql /etc/pts/data1.sql | sqlite3 /etc/db.d/config.db alice::LEAK_DETECTIVE_DISABLE=1 LOG4CXX_CONFIGURATION=/etc/tnc/log4cxx.properties radiusd alice::cat /etc/tnc_config carol::cat /etc/tnc_config |