On ppc64, the modify_ldt cases would not been compiled. So it should be return the message:"System doesn't support execution of the test" instead of an error message.
#uname -a Linux ovislp1 2.6.18-92.el5 #1 SMP Tue Apr 29 13:21:29 EDT 2008 ppc64 ppc64 ppc64 GNU/Linux To fix problem, I added the shell scripts to run the testcases. Added two files and two patches: testcases/kernel/syscalls/modify_ldt/run-modify_ldt01.sh testcases/kernel/syscalls/modify_ldt/run-modify_ldt01.sh Fix_makefile_modify_ldt.patch Fix_runtest_syscalls.patch ============== Before patching ============== # ./runltp -s modify_ldt01 Running tests....... <<<test_start>>> tag=modify_ldt01 stime=1222564266 cmdline="modify_ldt01" contacts="" analysis=exit initiation_status="pan(23602): execvp of 'modify_ldt01' (tag modify_ldt01) failed. errno:2 No such file or directory" <<<test_output>>> <<<execution_status>>> duration=0 termination_type=exited termination_id=2 corefile=no cutime=0 cstime=0 <<<test_end>>> ============== After patching ============== # ./runltp -s modify_ldt01 Running tests....... <<<test_start>>> tag=modify_ldt01 stime=1222564513 cmdline="run-modify_ldt01.sh" contacts="" analysis=exit initiation_status="ok" <<<test_output>>> incrementing stop modify_ldt01 0 CONF : System doesn't support execution of the test <<<execution_status>>> duration=0 termination_type=exited termination_id=0 corefile=no cutime=0 cstime=0 <<<test_end>>> In addition, the Fix_runtest_syscalls.patch also resolved the switch01 running error. ------------------ @@ -927,7 +927,7 @@ swapon02 swapon02 swapon03 swapon03 #Exclusive syscall() for POWER6 machines only -switch01 switch01 +switch01 endian_switch01 symlink01 symlink01 symlink02 symlink02 ============== Before patching ============== # ./runltp -s switch01 Running tests....... <<<test_start>>> tag=switch01 stime=1222565253 cmdline="switch01" contacts="" analysis=exit initiation_status="pan(9373): execvp of 'switch01' (tag switch01) failed. errno:2 No such file or directory" <<<test_output>>> <<<execution_status>>> duration=0 termination_type=exited termination_id=2 corefile=no cutime=0 cstime=0 <<<test_end>>> ============== After patching ============== # ./runltp -s switch01 Running tests....... <<<test_start>>> tag=switch01 stime=1222565270 cmdline="endian_switch01" contacts="" analysis=exit initiation_status="ok" <<<test_output>>> incrementing stop endian_switch01 1 CONF : Processor does not support little-endian mode <<<execution_status>>> duration=0 termination_type=exited termination_id=0 corefile=no cutime=0 cstime=0 <<<test_end>>> Signed-off-by: Jin Bing Guo <[EMAIL PROTECTED]> ----------- (See attached file: run-modify_ldt01.sh)(See attached file: run-modify_ldt02.sh) (See attached file: Fix_makefile_modify_ldt.patch)(See attached file: Fix_runtest_syscalls.patch) Best regards! Jin Bing Guo 郭晋兵 Linux for System p Test IBM China Systems & Technology Laboratory in Beijing Tel: +86-10-82454439 Email: [EMAIL PROTECTED] ------------------------------------- "Do today what others won't so tomorrow you do what other's can't"
run-modify_ldt01.sh
Description: Binary data
run-modify_ldt02.sh
Description: Binary data
Fix_makefile_modify_ldt.patch
Description: Binary data
Fix_runtest_syscalls.patch
Description: Binary data
------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
