fix hugetlb tests: I want to suggest a patch for hugetlb tests. There are "-c" options in this "${LTPROOT}/runtest/hugetlb" file:
------------
hugeshmat01 hugeshmat01 -i 5
hugeshmat02 hugeshmat02 -i 5
hugeshmat03 hugeshmat03 -i 5
hugeshmctl01 hugeshmctl01 -i 5 -c 3
hugeshmctl02 hugeshmctl02 -i 5 -c 3
hugeshmctl03 hugeshmctl03 -i 5 -c 3
hugeshmdt01 hugeshmdt01 -I 5 -c10
hugeshmget01 hugeshmget01 -c 10 -i 10
hugeshmget02 hugeshmget02 -c 10 -i 10
hugeshmget03 hugeshmget03 -c 10 -i 10
hugeshmget05 hugeshmget05 -c 10 -i 10
------------
But I think that these "-c" options have not important meanings. I think that the test for several times may not be necessary. For example, the purpose of "hugeshmget02" is the error case test of shmget(). In this case, if the expected failure occurred once, it is enough, and the repetition of test is unnecessary anymore, I think. And, depending on a case, there may be a system without enough memory for these repetition tests. Therefore I want to suggest reducing the "-c" option. I got an answer that these "hugetlb" tests were not complete test programs. --> http://www.mail-archive.com/ltp-list@lists.sourceforge.net/msg10171.html, Therefore, this revision is a temporary.
Signed-off-by: Tomonori Mitani <mitani@ryobi.co.jp>,
2 files changed