From: CAI Q. <ca...@cc...> - 2009-03-19 10:29:18
|
Hi, This patch fixes TWARN with TCONF to indicate the system does not support those test cases. Signed-off-by: CAI Qian <ca...@cc...> --- ltp-full-20090228/testcases/kernel/syscalls/fallocate/fallocate01.c.orig 2009-03-19 17:56:22.000000000 +0800 +++ ltp-full-20090228/testcases/kernel/syscalls/fallocate/fallocate01.c 2009-03-19 17:57:04.000000000 +0800 @@ -266,7 +266,7 @@ * either of x86, x86_64 or ppc architecture */ if ( !arch_support || (tst_kvercmp(2,6,23) < 0)) { - tst_resm(TWARN," System doesn't support execution of the test"); + tst_resm(TCONF," System doesn't support execution of the test"); exit(0); } --- ltp-full-20090228/testcases/kernel/syscalls/fallocate/fallocate02.c.orig 2009-03-19 17:56:26.000000000 +0800 +++ ltp-full-20090228/testcases/kernel/syscalls/fallocate/fallocate02.c 2009-03-19 17:57:26.000000000 +0800 @@ -301,7 +301,7 @@ * either of x86, x86_64 or ppc architecture */ if ( !arch_support || (tst_kvercmp(2,6,23) < 0)) { - tst_resm(TWARN," System doesn't support execution of the test"); + tst_resm(TCONF," System doesn't support execution of the test"); exit(0); } --- ltp-full-20090228/testcases/kernel/syscalls/fallocate/fallocate03.c.orig 2009-03-19 17:56:31.000000000 +0800 +++ ltp-full-20090228/testcases/kernel/syscalls/fallocate/fallocate03.c 2009-03-19 17:57:41.000000000 +0800 @@ -290,7 +290,7 @@ * either of x86, x86_64 or ppc architecture */ if ( !arch_support || (tst_kvercmp(2,6,23) < 0)) { - tst_resm(TWARN," System doesn't support execution of the test"); + tst_resm(TCONF," System doesn't support execution of the test"); exit(0); } |