diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2009-08-05 13:37:26 +0100 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2009-08-05 13:37:26 +0100 |
commit | ccb359dbfc5d53e1445b0f5ef3c4bb84f21151dc (patch) | |
tree | 96f375167a1013e4bf38e09af87bbd94797630de /tools/xm-test | |
parent | f0e70fe5983ac7af78fe900f8b30bb2da49c57d4 (diff) | |
download | xen-ccb359dbfc5d53e1445b0f5ef3c4bb84f21151dc.tar.gz xen-ccb359dbfc5d53e1445b0f5ef3c4bb84f21151dc.tar.bz2 xen-ccb359dbfc5d53e1445b0f5ef3c4bb84f21151dc.zip |
xm-test: Adapt memory setting to up-to-date kernel memory consumption
The attached patch fixes xm-test memset 04 that it can be used with up
to date kernels. The old version sets the memory to 15MByte which is
too low for modern kernels: the oom-killer in this case kills the
login shell of the test-case and init. Increased the size to 18M
which gives the userspace about 2.5 MByte memory.
Signed-off-by: Andreas Florath <xen@flonatel.org>
Diffstat (limited to 'tools/xm-test')
-rw-r--r-- | tools/xm-test/tests/memset/04_memset_smallmem_pos.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/xm-test/tests/memset/04_memset_smallmem_pos.py b/tools/xm-test/tests/memset/04_memset_smallmem_pos.py index 6bce662b6d..d2b52fc7b1 100644 --- a/tools/xm-test/tests/memset/04_memset_smallmem_pos.py +++ b/tools/xm-test/tests/memset/04_memset_smallmem_pos.py @@ -25,7 +25,7 @@ except ConsoleError, e: FAIL(str(e)) status, output = traceCommand("xm mem-set %s %i" % - (domain.getName(), 15)) + (domain.getName(), 18)) if status != 0: FAIL("xm mem-set %s %i returned invalid %i != 0" % |