aboutsummaryrefslogtreecommitdiffstats
path: root/testing/scripts/function.sh
Commit message (Collapse)AuthorAgeFilesLines
* testing: Update base image to Debian jessieTobias Brunner2016-06-151-0/+8
| | | | | | | | | | | | | 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.
* testing: Suppress errors when checking for running hostsTobias Brunner2015-08-031-1/+1
| | | | | If libvirt is not running virsh can't connect to it and will complain that the socket does not exist.
* testing: Ensure no guest is running when modifying imagesTobias Brunner2014-10-101-0/+12
| | | | | Sometimes guests are not stopped properly. If images are then modified they will be corrupted.
* Make test scripts callable from any pathReto Buerki2013-01-171-3/+0
|
* Drop now obsolete UML helper functionsReto Buerki2013-01-171-44/+0
|
* Run on_exit commands in FILO orderReto Buerki2013-01-171-4/+5
|
* Test availability of required commandsReto Buerki2013-01-171-0/+10
|
* Switch from raw images to qcow2 formatReto Buerki2013-01-171-0/+31
| | | | | 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.
* Drop cecho functionsReto Buerki2013-01-171-11/+0
|
* Use log_action function in do-tests scriptReto Buerki2013-01-171-0/+14
|
* Provide do_on_exit() functionReto Buerki2013-01-171-0/+28
| | | | | This function allows to register an exit action which executes when the calling script terminates.
* Import testing.conf file in function.shReto Buerki2013-01-171-12/+15
| | | | | This is needed to have access to $LOGFILE and possibly other config settings.
* Use red color in die() functionReto Buerki2013-01-171-11/+7
| | | | This is the function where red color SHOULD be used.
* Move execute wrappers to function.sh fileReto Buerki2013-01-171-3/+24
|
* Provide log_action and log_status functionsReto Buerki2013-01-171-1/+26
| | | | | These two functions are used to log action descriptions and the corresponding command exit status in a consistent way.
* testing: Switch to Debian based guest imagesReto Buerki2012-12-181-16/+1
| | | | | | | | | | 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.
* removing svn keyword $Id$ from all filesTobias Brunner2009-04-301-2/+0
|
* merged multi-auth branch back into trunkMartin Willi2009-04-141-0/+44
|
* added RCSIDAndreas Steffen2007-10-081-1/+1
|
* use cgecho for green outputAndreas Steffen2007-08-031-0/+3
|
* cecho changes in UML scriptsAndreas Steffen2007-05-231-2/+2
|
* - import of strongswan-2.7.0Martin Willi2006-04-281-0/+82
- applied patch for charon