Return-Path: Received: from sog-mx-4.v43.ch3.sourceforge.com ([172.29.43.194] helo=mx.sourceforge.net) by sfs-ml-4.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1ZIXJ8-0005Po-Ht for ltp-list@lists.sourceforge.net; Fri, 24 Jul 2015 07:22:14 +0000 Received: from mx1.redhat.com ([209.132.183.28]) by sog-mx-4.v43.ch3.sourceforge.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) id 1ZIXJ6-0003a2-SS for ltp-list@lists.sourceforge.net; Fri, 24 Jul 2015 07:22:14 +0000 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (Postfix) with ESMTPS id 86751AE5A1 for ; Fri, 24 Jul 2015 07:22:06 +0000 (UTC) From: Li Wang Date: Fri, 24 Jul 2015 15:22:00 +0800 Message-Id: <1437722520-2794-1-git-send-email-liwang@redhat.com> Subject: [LTP] [PATCH] syscalls/sysfs: replace the TWARN to TCONF List-Id: Linux Test Project General Discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ltp-list-bounces@lists.sourceforge.net To: ltp-list@lists.sourceforge.net I run some of these cases on aarch64 today and get a series waring, that's because sysfs syscall is not implemented on aarch64. So, maybe TCONF is better than TWARN in the testcase. Signed-off-by: Li Wang --- testcases/kernel/syscalls/sysfs/sysfs01.c | 2 +- testcases/kernel/syscalls/sysfs/sysfs02.c | 2 +- testcases/kernel/syscalls/sysfs/sysfs03.c | 2 +- testcases/kernel/syscalls/sysfs/sysfs04.c | 2 +- testcases/kernel/syscalls/sysfs/sysfs05.c | 2 +- testcases/kernel/syscalls/sysfs/sysfs06.c | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/testcases/kernel/syscalls/sysfs/sysfs01.c b/testcases/kernel/syscalls/sysfs/sysfs01.c index 11ebe43..c29f6c0 100644 --- a/testcases/kernel/syscalls/sysfs/sysfs01.c +++ b/testcases/kernel/syscalls/sysfs/sysfs01.c @@ -103,7 +103,7 @@ int main(int ac, char **av) } } /*End of TEST_LOOPING */ #else - tst_resm(TWARN, + tst_resm(TCONF, "This test can only run on kernels that support the sysfs system call"); #endif diff --git a/testcases/kernel/syscalls/sysfs/sysfs02.c b/testcases/kernel/syscalls/sysfs/sysfs02.c index f7cb96a..54557cc 100644 --- a/testcases/kernel/syscalls/sysfs/sysfs02.c +++ b/testcases/kernel/syscalls/sysfs/sysfs02.c @@ -103,7 +103,7 @@ int main(int ac, char **av) } } /*End of TEST_LOOPING */ #else - tst_resm(TWARN, + tst_resm(TCONF, "This test can only run on kernels that support the sysfs system call"); #endif diff --git a/testcases/kernel/syscalls/sysfs/sysfs03.c b/testcases/kernel/syscalls/sysfs/sysfs03.c index 59b997e..9048dfe 100644 --- a/testcases/kernel/syscalls/sysfs/sysfs03.c +++ b/testcases/kernel/syscalls/sysfs/sysfs03.c @@ -101,7 +101,7 @@ int main(int ac, char **av) } } /*End of TEST_LOOPING */ #else - tst_resm(TWARN, + tst_resm(TCONF, "This test can only run on kernels that support the sysfs system call"); #endif diff --git a/testcases/kernel/syscalls/sysfs/sysfs04.c b/testcases/kernel/syscalls/sysfs/sysfs04.c index f4fda36..2b2530a 100644 --- a/testcases/kernel/syscalls/sysfs/sysfs04.c +++ b/testcases/kernel/syscalls/sysfs/sysfs04.c @@ -105,7 +105,7 @@ int main(int ac, char **av) } } #else - tst_resm(TWARN, + tst_resm(TCONF, "This test can only run on kernels that support the sysfs system call"); #endif diff --git a/testcases/kernel/syscalls/sysfs/sysfs05.c b/testcases/kernel/syscalls/sysfs/sysfs05.c index e97f0c8..2ab6707 100644 --- a/testcases/kernel/syscalls/sysfs/sysfs05.c +++ b/testcases/kernel/syscalls/sysfs/sysfs05.c @@ -129,7 +129,7 @@ int main(int ac, char **av) } /*End of TEST LOOPS */ } #else - tst_resm(TWARN, + tst_resm(TCONF, "This test can only run on kernels that support the sysfs system call"); #endif diff --git a/testcases/kernel/syscalls/sysfs/sysfs06.c b/testcases/kernel/syscalls/sysfs/sysfs06.c index 121e944..7ef5ee2 100644 --- a/testcases/kernel/syscalls/sysfs/sysfs06.c +++ b/testcases/kernel/syscalls/sysfs/sysfs06.c @@ -132,7 +132,7 @@ int main(int ac, char **av) } /*End of TEST LOOPS */ } #else - tst_resm(TWARN, + tst_resm(TCONF, "This test can only run on kernels that support the sysfs system call"); #endif -- 1.8.3.1 ------------------------------------------------------------------------------ _______________________________________________ Ltp-list mailing list Ltp-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ltp-list