aboutsummaryrefslogtreecommitdiffstats
path: root/testing/scripts/build-guestimages
diff options
context:
space:
mode:
authorReto Buerki <reet@codelabs.ch>2012-12-10 16:16:56 +0100
committerTobias Brunner <tobias@strongswan.org>2013-01-17 16:54:55 +0100
commit76ccd25a050a543e9dfc5fd23d5ebe976660fccb (patch)
treeb1bc8cd79b24138e9c1603e18a2b61366b6d4363 /testing/scripts/build-guestimages
parent44e83859e0819c86d10007380da19829e3112f51 (diff)
downloadstrongswan-76ccd25a050a543e9dfc5fd23d5ebe976660fccb.tar.bz2
strongswan-76ccd25a050a543e9dfc5fd23d5ebe976660fccb.tar.xz
Add expect-connection guest image script
This script can be used in pretest.dat files to wait until an IPsec connection becomes available. This avoids unconditional sleeps and improves test performance. The ipv6 tests have been updated to use the expect-connection script.
Diffstat (limited to 'testing/scripts/build-guestimages')
-rwxr-xr-xtesting/scripts/build-guestimages2
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/scripts/build-guestimages b/testing/scripts/build-guestimages
index adcc522cf..5186b8a6a 100755
--- a/testing/scripts/build-guestimages
+++ b/testing/scripts/build-guestimages
@@ -50,7 +50,7 @@ do
partprobe $NBDEV
execute "mount $NBDPARTITION $LOOPDIR" 0
execute "cp -rf $HOSTSDIR/${host}/etc $LOOPDIR" 0
- execute "cp -rf $HOSTSDIR/default/etc $LOOPDIR" 0
+ execute "cp -rf $HOSTSDIR/default/* $LOOPDIR" 0
if [ "$host" = "winnetou" ]
then
execute "mkdir $LOOPDIR/var/log/apache2/ocsp" 0