Commit Graph
29 Commits
Author SHA1 Message Date
dan@localhost.localdomain e198273e0e Add hping to the ramdisk. Also, do some very simple versioning.
This is the first change to the ramdisk since v0.1.0.  So, we now build
the image as initrd-X.Y.img, and link initrd.img to it.  This lets us
have a few checks to make sure that people rebuild their ramdisks when
necessary.
2005-11-18 13:00:13 +01:00
dan@guaranine.beaverton.ibm.com 17cb704e41 Updates to the xm-test README file. 2005-11-17 12:09:09 +01:00
dan@guaranine.beaverton.ibm.com aafdb94b17 Update 01_pause_basic test for new console behavior. 2005-11-17 11:58:36 +01:00
dan@guaranine.beaverton.ibm.com 0dc1cf094a Make test 04_memset detect bug #380 and restart the console daemon.
This should allow the rest of the tests to run without reporting
failure because this test killed the console system.
2005-11-17 11:56:13 +01:00
dan@guaranine.beaverton.ibm.com cf01e4ff3b Test for creating a domain with too little memory. 2005-11-16 20:33:12 +01:00
dan@guaranine.beaverton.ibm.com 574b65be2f Make 01_reboot test more robust.
We need to attach a console before rebooting to make sure the domain did
actually boot in the first place.  Also, use a better method for pulling out
the uptime string.
2005-11-16 20:32:36 +01:00
emellor@leeni.uk.xensource.com f1f5c0ba12 Review checks for Error string when checking that bad arguments are handled
correctly.  Many checks were looking using output.find("Error") > 1, which is
incorrect, as we do not guarantee that the word "Error" will be first in the
output (never mind the fact that strings are indexed from 0).

All these checks have been changed to compare against -1.  In particular, this
should fix the failure of create_noparm_neg and create_badparm_neg on a machine
with the /etc/xen/xmdefconfig file in place, as xm create issues the
Using config file "/etc/xen/xmdefconfig" diagnostic before reporting the error.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2005-11-16 12:36:47 +01:00
danms@us.ibm.com 44631ace40 Reduce the time required to start xm-test domains by allowing the console
to retry connecting to the DomU multiple times.  A polling approach instead
of a wait-and-hope-it-works approach.
2005-11-15 16:07:44 +01:00
dan@guaranine.beaverton.ibm.com 47bb754959 This test was failing for he wrong reason. Calls to block-attach after the
first *should* report failure, so the test should not fail because of this.
The test now fails because multiple calls to block-attach seem to detach the
block devicem, which is wrong.

Signed-off-by: Dan Smith <danms@us.ibm.com>
2005-11-12 18:25:12 +01:00
emellor@leeni.uk.xensource.com 7c8b72ea79 Chmod a+x. 2005-11-11 15:36:07 +01:00
emellor@leeni.uk.xensource.com 67b5c8dbca Removed autogenerated file.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2005-11-10 16:59:51 +01:00
kaf24@firebug.cl.cam.ac.uk 05ef2f2ffd merge 2005-11-10 12:05:22 +01:00
emellor@leeni.uk.xensource.com 4bfcb7baff Various chmod a+x.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2005-11-10 12:00:09 +01:00
danms@us.ibm.com ad0262669d Modularize runtest.sh and add a quick option.
I broke up runtest.sh into functions which makes it easier to alter its
behavior.  Now, we can easily re-submit a previously-run test report.
2005-11-10 11:48:05 +01:00
danms@us.ibm.com 5b72611469 Make the 04_restore test verify that two block devices and two nics are
restored to a working state and that the nics retain their configuration.
2005-11-10 11:48:05 +01:00
danms@us.ibm.com f038fab290 Remove this accidental commit 2005-11-10 11:48:05 +01:00
dan@guaranine.beaverton.ibm.com 380276648e Tweak the usage of mke2fs to be quiet, so that the XML reports
contain less garbage
2005-11-10 11:47:38 +01:00
danms@us.ibm.com 9aca986cfd Add this file that wasn't in the tarball for the initial import 2005-11-10 11:47:34 +01:00
danms@us.ibm.com c997e4cd9c Remove semicolons from Console.py. It's a habit. 2005-11-10 11:47:27 +01:00
emellor@leeni.uk.xensource.com 4d59fe8300 This patch prevents the xm-test console library from duplicating the
debugging output, when it's turned on.  This just makes it easier to
read.

Signed-off-by: Dan Smith <danms@us.ibm.com>
2005-11-09 12:39:38 +01:00
emellor@leeni.uk.xensource.com de3ec1ee5f This patch adds a new test that attempts to save and restore a domain
with a block device attached.  It starts up a domain, mounts a block
device, writes data to it, saves, restores, and then verifies that the
block device can still be read.

Signed-off-by: Dan Smith <danms@us.ibm.com>
2005-11-09 12:39:05 +01:00
emellor@leeni.uk.xensource.com 4bb125c6d1 Chmod a+x.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2005-11-09 12:38:46 +01:00
emellor@leeni.uk.xensource.com a86e94e917 Added file missed on commit of earlier patch by Dan Smith. 2005-11-08 12:30:38 +01:00
emellor@leeni.uk.xensource.com f3cac18aac This patch removes all of the auto-generated files that were checked
in with xm-test in changeset 7634.  It also adds an "autogen" script
that re-creates these files.

The auto-generated files really don't need to be in the tree, as they
should be generated by the user on the machine where they plan to run
xm-test.

Signed-off-by: Dan Smith <danms@us.ibm.com>
2005-11-08 12:28:19 +01:00
emellor@leeni.uk.xensource.com f1c40ce58b This patch increments the version number of xm-test so that we can
distinguish reports from the 0.4.0 tarball and in-tree versions.

Signed-off-by: Dan Smith <danms@us.ibm.com>
2005-11-08 12:02:10 +01:00
emellor@leeni.uk.xensource.com c702df17bf This patch adds a URL to the reporting site, as well as a note about
running with lots of free memory to the README.

Signed-off-by: Dan Smith <danms@us.ibm.com>
2005-11-08 12:01:09 +01:00
emellor@leeni.uk.xensource.com 44813a39b7 1. Set the UID and EUID of the process when trying to switch to a
non-root user.
2. Better handle the debug-printing inside the console

Signed-off-by: Dan Smith <danms@us.ibm.com>
2005-11-08 12:00:23 +01:00
emellor@leeni.uk.xensource.com ad7f6c5250 1. Unmark the 07 and 08 tests of block_attach as XFAIL
2. Change the MEM_PER_DOM amount in 11_create_concurrent to 24MB, so
   that the test will run on x86_64.
3. Increase the number of DomUs created in 12_create_concurrent to 5
4. Fix a logic error in 01_unpause
5. Add a test 06_help that checks all xm commands with 0-10 arguments
   to make sure none of them traceback with varying argument counts.

Signed-off-by: Dan Smith <danms@us.ibm.com>
2005-11-08 11:56:55 +01:00
emellor@leeni.uk.xensource.com 3ec891fe7b Wholesale import of xm-test 0.4.0.
This is not yet integrated with the rest of the Xen build system.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2005-11-07 12:36:16 +01:00