aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorEric B Munson <ebmunson@us.ibm.com>2009-05-15 09:55:07 +0100
committerEric B Munson <ebmunson@us.ibm.com>2009-05-18 13:04:22 +0100
commit5df111cbcd282d051e7227c304109f6838ea6cd4 (patch)
tree08eab327ef032788d43a372c49e635628a79223b /tests
parent7968eaa2cf4bdd3d2907fb4ed2bd7a56ac9aa9e3 (diff)
downloadlibhugetlbfs-5df111cbcd282d051e7227c304109f6838ea6cd4.tar.gz
Update the fail message for readahead, madvise, and fadvise tests
This patch changes the failure message given by the readahead, fadvise, and madvise tests if the kernel is older than 2.6.30 to make it clear that the test failure is assumed. Until the fix for these tests is in kernel they will be skipped because they can hang the kernel. Signed-off-by: Eric B Munson <ebmunson@us.ibm.com>
Diffstat (limited to 'tests')
-rwxr-xr-xtests/fadvise_reserve.sh2
-rwxr-xr-xtests/madvise_reserve.sh2
-rwxr-xr-xtests/readahead_reserve.sh2
3 files changed, 3 insertions, 3 deletions
diff --git a/tests/fadvise_reserve.sh b/tests/fadvise_reserve.sh
index a62f9e9..f24944c 100755
--- a/tests/fadvise_reserve.sh
+++ b/tests/fadvise_reserve.sh
@@ -5,7 +5,7 @@
# fadvise is known broken before 2.6.30
compare_kvers `uname -r` "2.6.30"
if [ $? -eq 1 ]; then
- echo "FAIL kernel bug"
+ echo "FAIL (assumed) kernel bug"
exit $RC_FAIL
else
EXP_RC=$RC_PASS
diff --git a/tests/madvise_reserve.sh b/tests/madvise_reserve.sh
index 64eb229..4a88ade 100755
--- a/tests/madvise_reserve.sh
+++ b/tests/madvise_reserve.sh
@@ -5,7 +5,7 @@
# madvise is known broken before 2.6.30
compare_kvers `uname -r` "2.6.30"
if [ $? -eq 1 ]; then
- echo "FAIL kernel bug"
+ echo "FAIL (assumed) kernel bug"
exit $RC_FAIL
else
EXP_RC=$RC_PASS
diff --git a/tests/readahead_reserve.sh b/tests/readahead_reserve.sh
index 8dc0ad1..831cceb 100755
--- a/tests/readahead_reserve.sh
+++ b/tests/readahead_reserve.sh
@@ -5,7 +5,7 @@
# readahead is known broken before 2.6.30
compare_kvers `uname -r` "2.6.30"
if [ $? -eq 1 ]; then
- echo "FAIL kernel bug"
+ echo "FAIL (assumed) kernel bug"
exit $RC_FAIL
else
EXP_RC=$RC_PASS