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.
This commit is contained in:
committed by
Tobias Brunner
parent
44e83859e0
commit
76ccd25a05
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user