Tobias Brunner
257e5db0d0
testing: Update base image to Debian jessie
...
Several packages got renamed/updated, libgcrypt was apparently installed
by default previously.
Since most libraries changed we have to completely rebuild all the tools
installed in the root image. We currently don't provide a clean target in
the recipes, and even if we did we'd have to track which base image we
last built for. It's easier to just use a different build directory for
each base image, at the cost of some additional disk space (if not manually
cleaned). However, that's also the case when updating kernel or
software versions.
2016-06-15 17:58:24 +02:00
Tobias Brunner
50dd7de226
testing: Suppress errors when checking for running hosts
...
If libvirt is not running virsh can't connect to it and will complain that
the socket does not exist.
2015-08-03 12:54:09 +02:00
Tobias Brunner
83efded313
testing: Ensure no guest is running when modifying images
...
Sometimes guests are not stopped properly. If images are then modified
they will be corrupted.
2014-10-10 19:03:50 +02:00
Reto Buerki
aafc0a1799
Make test scripts callable from any path
2013-01-17 16:54:58 +01:00
Reto Buerki
aba43136c2
Drop now obsolete UML helper functions
2013-01-17 16:54:55 +01:00
Reto Buerki
74c0839ad6
Run on_exit commands in FILO order
2013-01-17 16:54:54 +01:00
Reto Buerki
b24d3ed5fc
Test availability of required commands
2013-01-17 16:54:54 +01:00
Reto Buerki
8ed98c1373
Switch from raw images to qcow2 format
...
This allows to use minimal copy-on-write clones of the base image as
guest images, which in turn saves a lot of disk space.
2013-01-17 16:54:54 +01:00
Reto Buerki
36a3fe90d8
Drop cecho functions
2013-01-17 16:54:53 +01:00
Reto Buerki
8cb4628ff9
Use log_action function in do-tests script
2013-01-17 16:54:53 +01:00
Reto Buerki
9a045eef8e
Provide do_on_exit() function
...
This function allows to register an exit action which executes when the
calling script terminates.
2013-01-17 15:22:11 +01:00
Reto Buerki
7c2ef58e86
Import testing.conf file in function.sh
...
This is needed to have access to $LOGFILE and possibly other config
settings.
2013-01-17 15:22:10 +01:00
Reto Buerki
fb2aab414a
Use red color in die() function
...
This is the function where red color SHOULD be used.
2013-01-17 15:22:10 +01:00
Reto Buerki
b86866579a
Move execute wrappers to function.sh file
2013-01-17 15:22:09 +01:00
Reto Buerki
c120f25e60
Provide log_action and log_status functions
...
These two functions are used to log action descriptions and the
corresponding command exit status in a consistent way.
2013-01-17 15:22:09 +01:00
Reto Buerki
aa5803e0e3
testing: Switch to Debian based guest images
...
Instead of extracting a downloaded Gentoo filesystem tree into a file
containing a reiserfs filesystem, create an ext3 filesystem inside a
sparse file, mount it and debootstrap an up-to-date Debian system. Use
this image as base for all UML guest images.
Also, drop support for the various consoles and use xterm
unconditionally.
2012-12-18 16:00:21 +01:00
Tobias Brunner
8c5d72cd0b
removing svn keyword $Id$ from all files
2009-04-30 13:19:35 +00:00
Martin Willi
a44bb9345f
merged multi-auth branch back into trunk
2009-04-14 10:34:24 +00:00
Andreas Steffen
4565d23782
added RCSID
2007-10-08 20:18:34 +00:00
Andreas Steffen
90b21fde11
use cgecho for green output
2007-08-03 10:58:45 +00:00
Andreas Steffen
0749196612
cecho changes in UML scripts
2007-05-23 22:24:47 +00:00
Martin Willi
997358a6c4
- import of strongswan-2.7.0
...
- applied patch for charon
2006-04-28 07:14:48 +00:00