path: root/tests/run_tests.py
diff options
authorEric B Munson <ebmunson@us.ibm.com>2009-02-10 18:35:58 +0000
committerEric B Munson <ebmunson@us.ibm.com>2009-02-11 10:06:45 +0000
commit8cf632097312bc73dbc59159371c09e8c4f72af2 (patch)
tree427dd209cd1a024baef48cceb956ab44cf549a2a /tests/run_tests.py
parent65933297ed8f6ed32f9a972ff19d8e85a2543f97 (diff)
Wrap the shm-fork and shm-getraw tests for expected failures
The new test suite tries to run all tests with all available page sizes. This will be a problem with the shm-fork and shm-getraw tests as the shmget interface will only work with the default page, this patch wraps the tests to make the runs with pages sizes other than the default expected failures. Signed-off-by: Eric B Munson <ebmunson@us.ibm.com>
Diffstat (limited to 'tests/run_tests.py')
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/run_tests.py b/tests/run_tests.py
index c9d4502..5822473 100755
--- a/tests/run_tests.py
+++ b/tests/run_tests.py
@@ -561,10 +561,10 @@ def stress_tests():
# This is to catch off-by-ones or races in the kernel allocated that
# can make allocating all hugepages a problem
if nr_pages > 1:
- do_test("shm-fork %i %i" % (threads, nr_pages / 2))
- do_test("shm-fork %i %i" % (threads, nr_pages))
+ do_test("shm-fork.sh %i %i" % (threads, nr_pages / 2))
+ do_test("shm-fork.sh %i %i" % (threads, nr_pages))
- do_test("shm-getraw %i %s" % (nr_pages, "/dev/full"))
+ do_test("shm-getraw.sh %i %s" % (nr_pages, "/dev/full"))