As Mitani-san noticed the runtest file had two syntax errors --
- "move_pagesXX" files are in "$LTPROOT/testcases/bin" direcotory,
not in "$LTPROOT/bin" directory.
- "chmod" commands don't have target file.
-- which resulted in the following output:
When I ran LTP in RHEL5.4 using ltp-2009-11-19.tar.gz,
"move_pages03" and "move_pages11" were failed in each of "syscalls" and
"numa" tests like that:
------------
move_pages01 1 TCONF : NUMA support not provided
move_pages02 1 TCONF : NUMA support not provided
chown: cannot access `move_pages03': No such file or directory
move_pages04 1 TCONF : NUMA support not provided
move_pages05 1 TCONF : NUMA support not provided
move_pages06 1 TCONF : NUMA support not provided
move_pages07 1 TCONF : NUMA support not provided
move_pages08 1 TCONF : NUMA support not provided
move_pages09 1 TCONF : NUMA support not provided
move_pages10 1 TCONF : NUMA support not provided
chown: cannot access `move_pages11': No such file or directory
Signed-off-by: Tomonori Mitani <mitani@ryobi.co.jp>
Acked-by: Garrett Cooper <yanegomi@gmail.com>
diff --git a/runtest/numa b/runtest/numa
index cd2bb4b..87f64da 100644
--- a/runtest/numa
+++ b/runtest/numa
@@ -1,7 +1,7 @@
Numa-testcases numa01.sh
move_pages01 move_pages.sh 01
move_pages02 move_pages.sh 02
-move_pages03 cd $LTPROOT/bin && chown root move_pages03 && chmod 04755 && move_pages.sh 03
+move_pages03 cd $LTPROOT/testcases/bin && chown root move_pages03 && chmod 04755 move_pages03 && move_pages.sh 03
move_pages04 move_pages.sh 04
move_pages05 move_pages.sh 05
move_pages06 move_pages.sh 06
@@ -9,4 +9,4 @@
move_pages08 move_pages.sh 08
move_pages09 move_pages.sh 09
move_pages10 move_pages.sh 10
-move_pages11 cd $LTPROOT/bin && chown root move_pages11 && chmod 04755 && move_pages.sh 11
+move_pages11 cd $LTPROOT/testcases/bin && chown root move_pages11 && chmod 04755 move_pages11 && move_pages.sh 11