From patchwork Thu Dec 2 09:38:38 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: wenyehai X-Patchwork-Id: 1562606 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.linux.it (client-ip=2001:1418:10:5::2; helo=picard.linux.it; envelope-from=ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it; receiver=) Received: from picard.linux.it (picard.linux.it [IPv6:2001:1418:10:5::2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4J4W8M4bcRz9sRK for ; Thu, 2 Dec 2021 20:37:39 +1100 (AEDT) Received: from picard.linux.it (localhost [IPv6:::1]) by picard.linux.it (Postfix) with ESMTP id 147993C8FCD for ; Thu, 2 Dec 2021 10:37:37 +0100 (CET) X-Original-To: ltp@lists.linux.it Delivered-To: ltp@picard.linux.it Received: from in-2.smtp.seeweb.it (in-2.smtp.seeweb.it [217.194.8.2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by picard.linux.it (Postfix) with ESMTPS id 949933C8DD1 for ; Thu, 2 Dec 2021 10:37:34 +0100 (CET) Received: from szxga03-in.huawei.com (szxga03-in.huawei.com [45.249.212.189]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by in-2.smtp.seeweb.it (Postfix) with ESMTPS id 772D860137B for ; Thu, 2 Dec 2021 10:37:30 +0100 (CET) Received: from kwepemi500008.china.huawei.com (unknown [172.30.72.55]) by szxga03-in.huawei.com (SkyGuard) with ESMTP id 4J4W5p3Fc9zXdRS; Thu, 2 Dec 2021 17:35:26 +0800 (CST) Received: from kwepemm600017.china.huawei.com (7.193.23.234) by kwepemi500008.china.huawei.com (7.221.188.139) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20; Thu, 2 Dec 2021 17:37:25 +0800 Received: from ubuntu1604.huawei.com (10.67.174.57) by kwepemm600017.china.huawei.com (7.193.23.234) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20; Thu, 2 Dec 2021 17:37:25 +0800 To: Date: Thu, 2 Dec 2021 17:38:38 +0800 Message-ID: <1638437918-60401-1-git-send-email-wenyehai@huawei.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 X-Originating-IP: [10.67.174.57] X-ClientProxiedBy: dggems703-chm.china.huawei.com (10.3.19.180) To kwepemm600017.china.huawei.com (7.193.23.234) X-CFilter-Loop: Reflected X-Virus-Scanned: clamav-milter 0.102.4 at in-2.smtp.seeweb.it X-Virus-Status: Clean X-Spam-Status: No, score=0.0 required=7.0 tests=SPF_HELO_NONE,SPF_PASS autolearn=disabled version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on in-2.smtp.seeweb.it Subject: [LTP] [PATCH v2] bugfix for testcases which with duplicate header files fcntl.h X-BeenThere: ltp@lists.linux.it X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux Test Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: wenyehai via ltp From: wenyehai Reply-To: wenyehai Cc: wenyehai Errors-To: ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it Sender: "ltp" testcases/kernel/syscalls:Remove duplicate header files fcntl.h. Signed-off-by: Yehai Wen --- v1->v2: remove duplicate header files fcntl.h for all testcases testcases/kernel/syscalls/accept4/accept4_01.c | 1 - testcases/kernel/syscalls/eventfd2/eventfd2_01.c | 1 - testcases/kernel/syscalls/eventfd2/eventfd2_02.c | 1 - testcases/kernel/syscalls/execveat/execveat03.c | 1 - testcases/kernel/syscalls/fallocate/fallocate01.c | 1 - testcases/kernel/syscalls/fchownat/fchownat01.c | 1 - testcases/kernel/syscalls/fchownat/fchownat02.c | 1 - testcases/kernel/syscalls/fcntl/fcntl29.c | 1 - testcases/kernel/syscalls/fcntl/fcntl30.c | 1 - testcases/kernel/syscalls/fcntl/fcntl31.c | 1 - testcases/kernel/syscalls/fcntl/fcntl34.c | 1 - testcases/kernel/syscalls/fcntl/fcntl35.c | 1 - testcases/kernel/syscalls/fcntl/fcntl36.c | 1 - testcases/kernel/syscalls/fcntl/fcntl37.c | 1 - testcases/kernel/syscalls/fcntl/fcntl38.c | 1 - testcases/kernel/syscalls/inotify_init/inotify_init1_01.c | 1 - testcases/kernel/syscalls/inotify_init/inotify_init1_02.c | 1 - testcases/kernel/syscalls/linkat/linkat02.c | 1 - testcases/kernel/syscalls/mknodat/mknodat01.c | 1 - testcases/kernel/syscalls/mknodat/mknodat02.c | 1 - testcases/kernel/syscalls/open/open14.c | 1 - testcases/kernel/syscalls/openat/openat01.c | 1 - testcases/kernel/syscalls/openat/openat02.c | 1 - testcases/kernel/syscalls/openat/openat03.c | 1 - testcases/kernel/syscalls/pipe/pipe12.c | 1 - testcases/kernel/syscalls/pipe2/pipe2_04.c | 1 - testcases/kernel/syscalls/renameat/renameat01.c | 1 - testcases/kernel/syscalls/signalfd4/signalfd4_01.c | 1 - testcases/kernel/syscalls/socket/socket02.c | 1 - testcases/kernel/syscalls/socketpair/socketpair02.c | 1 - testcases/kernel/syscalls/tee/tee01.c | 1 - testcases/kernel/syscalls/timerfd/timerfd02.c | 1 - testcases/kernel/syscalls/timerfd/timerfd03.c | 1 - testcases/kernel/syscalls/vmsplice/vmsplice01.c | 1 - testcases/kernel/syscalls/vmsplice/vmsplice02.c | 2 -- 35 files changed, 36 deletions(-) diff --git a/testcases/kernel/syscalls/accept4/accept4_01.c b/testcases/kernel/syscalls/accept4/accept4_01.c index b3ab1b9..58115ea 100644 --- a/testcases/kernel/syscalls/accept4/accept4_01.c +++ b/testcases/kernel/syscalls/accept4/accept4_01.c @@ -13,7 +13,6 @@ #include #include #include -#include #include #include #include diff --git a/testcases/kernel/syscalls/eventfd2/eventfd2_01.c b/testcases/kernel/syscalls/eventfd2/eventfd2_01.c index a4af388..c0c6a26 100644 --- a/testcases/kernel/syscalls/eventfd2/eventfd2_01.c +++ b/testcases/kernel/syscalls/eventfd2/eventfd2_01.c @@ -53,7 +53,6 @@ /* Ported to LTP */ /* - Jan 08 2009 - Subrata */ /******************************************************************************/ -#include #include #include #include diff --git a/testcases/kernel/syscalls/eventfd2/eventfd2_02.c b/testcases/kernel/syscalls/eventfd2/eventfd2_02.c index 151edb8..418c07c 100644 --- a/testcases/kernel/syscalls/eventfd2/eventfd2_02.c +++ b/testcases/kernel/syscalls/eventfd2/eventfd2_02.c @@ -50,7 +50,6 @@ /* Ported to LTP */ /* - Jan 13 2009 - Subrata */ /******************************************************************************/ -#include #include #include #include diff --git a/testcases/kernel/syscalls/execveat/execveat03.c b/testcases/kernel/syscalls/execveat/execveat03.c index 78b26ab..1900c07 100644 --- a/testcases/kernel/syscalls/execveat/execveat03.c +++ b/testcases/kernel/syscalls/execveat/execveat03.c @@ -29,7 +29,6 @@ #include #include #include -#include #include "tst_test.h" #include "lapi/execveat.h" #include "lapi/fcntl.h" diff --git a/testcases/kernel/syscalls/fallocate/fallocate01.c b/testcases/kernel/syscalls/fallocate/fallocate01.c index c60e160..383796c 100644 --- a/testcases/kernel/syscalls/fallocate/fallocate01.c +++ b/testcases/kernel/syscalls/fallocate/fallocate01.c @@ -93,7 +93,6 @@ #include #include #include -#include #include #include #include diff --git a/testcases/kernel/syscalls/fchownat/fchownat01.c b/testcases/kernel/syscalls/fchownat/fchownat01.c index 9f4ecde..a658f07 100644 --- a/testcases/kernel/syscalls/fchownat/fchownat01.c +++ b/testcases/kernel/syscalls/fchownat/fchownat01.c @@ -26,7 +26,6 @@ #include #include -#include #include #include #include diff --git a/testcases/kernel/syscalls/fchownat/fchownat02.c b/testcases/kernel/syscalls/fchownat/fchownat02.c index d19f3f3..701623d 100644 --- a/testcases/kernel/syscalls/fchownat/fchownat02.c +++ b/testcases/kernel/syscalls/fchownat/fchownat02.c @@ -24,7 +24,6 @@ #include #include -#include #include #include #include diff --git a/testcases/kernel/syscalls/fcntl/fcntl29.c b/testcases/kernel/syscalls/fcntl/fcntl29.c index ffb9fea..5874764 100644 --- a/testcases/kernel/syscalls/fcntl/fcntl29.c +++ b/testcases/kernel/syscalls/fcntl/fcntl29.c @@ -24,7 +24,6 @@ #include #include #include -#include #include #include #include diff --git a/testcases/kernel/syscalls/fcntl/fcntl30.c b/testcases/kernel/syscalls/fcntl/fcntl30.c index a7a5e13..27f4643 100644 --- a/testcases/kernel/syscalls/fcntl/fcntl30.c +++ b/testcases/kernel/syscalls/fcntl/fcntl30.c @@ -25,7 +25,6 @@ #include #include #include -#include #include #include #include diff --git a/testcases/kernel/syscalls/fcntl/fcntl31.c b/testcases/kernel/syscalls/fcntl/fcntl31.c index fd284fd..9003089 100644 --- a/testcases/kernel/syscalls/fcntl/fcntl31.c +++ b/testcases/kernel/syscalls/fcntl/fcntl31.c @@ -25,7 +25,6 @@ #include #include #include -#include #include #include #include diff --git a/testcases/kernel/syscalls/fcntl/fcntl34.c b/testcases/kernel/syscalls/fcntl/fcntl34.c index 3a68b51..3442114 100644 --- a/testcases/kernel/syscalls/fcntl/fcntl34.c +++ b/testcases/kernel/syscalls/fcntl/fcntl34.c @@ -7,7 +7,6 @@ #include #include #include -#include #include #include diff --git a/testcases/kernel/syscalls/fcntl/fcntl35.c b/testcases/kernel/syscalls/fcntl/fcntl35.c index c5a071d..8eb7148 100644 --- a/testcases/kernel/syscalls/fcntl/fcntl35.c +++ b/testcases/kernel/syscalls/fcntl/fcntl35.c @@ -26,7 +26,6 @@ #include #include #include -#include #include #include "lapi/fcntl.h" diff --git a/testcases/kernel/syscalls/fcntl/fcntl36.c b/testcases/kernel/syscalls/fcntl/fcntl36.c index 1d187c2..d6b07fc 100644 --- a/testcases/kernel/syscalls/fcntl/fcntl36.c +++ b/testcases/kernel/syscalls/fcntl/fcntl36.c @@ -34,7 +34,6 @@ #include #include #include -#include #include #include #include diff --git a/testcases/kernel/syscalls/fcntl/fcntl37.c b/testcases/kernel/syscalls/fcntl/fcntl37.c index c52af22..a624554 100644 --- a/testcases/kernel/syscalls/fcntl/fcntl37.c +++ b/testcases/kernel/syscalls/fcntl/fcntl37.c @@ -14,7 +14,6 @@ */ #include -#include #include #include #include diff --git a/testcases/kernel/syscalls/fcntl/fcntl38.c b/testcases/kernel/syscalls/fcntl/fcntl38.c index fae2ab4..2f1b022 100644 --- a/testcases/kernel/syscalls/fcntl/fcntl38.c +++ b/testcases/kernel/syscalls/fcntl/fcntl38.c @@ -8,7 +8,6 @@ * Check that dnotify event is reported to both parent and subdir */ -#include #include #include #include diff --git a/testcases/kernel/syscalls/inotify_init/inotify_init1_01.c b/testcases/kernel/syscalls/inotify_init/inotify_init1_01.c index f1203a4..f1b50fd 100644 --- a/testcases/kernel/syscalls/inotify_init/inotify_init1_01.c +++ b/testcases/kernel/syscalls/inotify_init/inotify_init1_01.c @@ -53,7 +53,6 @@ /* Ported to LTP */ /* - Jan 13 2009 - Subrata */ /******************************************************************************/ -#include #include #include #include diff --git a/testcases/kernel/syscalls/inotify_init/inotify_init1_02.c b/testcases/kernel/syscalls/inotify_init/inotify_init1_02.c index b074214..3b0c767 100644 --- a/testcases/kernel/syscalls/inotify_init/inotify_init1_02.c +++ b/testcases/kernel/syscalls/inotify_init/inotify_init1_02.c @@ -50,7 +50,6 @@ /* Ported to LTP */ /* - Jan 13 2009 - Subrata */ /******************************************************************************/ -#include #include #include #include diff --git a/testcases/kernel/syscalls/linkat/linkat02.c b/testcases/kernel/syscalls/linkat/linkat02.c index 84b4a3b..566c76b 100644 --- a/testcases/kernel/syscalls/linkat/linkat02.c +++ b/testcases/kernel/syscalls/linkat/linkat02.c @@ -21,7 +21,6 @@ #include #include -#include #include #include #include diff --git a/testcases/kernel/syscalls/mknodat/mknodat01.c b/testcases/kernel/syscalls/mknodat/mknodat01.c index 2e13c77..bff2c6a 100644 --- a/testcases/kernel/syscalls/mknodat/mknodat01.c +++ b/testcases/kernel/syscalls/mknodat/mknodat01.c @@ -27,7 +27,6 @@ #define _GNU_SOURCE #include -#include #include #include #include diff --git a/testcases/kernel/syscalls/mknodat/mknodat02.c b/testcases/kernel/syscalls/mknodat/mknodat02.c index 6c5054b..7e6afda 100644 --- a/testcases/kernel/syscalls/mknodat/mknodat02.c +++ b/testcases/kernel/syscalls/mknodat/mknodat02.c @@ -27,7 +27,6 @@ #define _GNU_SOURCE #include -#include #include #include #include diff --git a/testcases/kernel/syscalls/open/open14.c b/testcases/kernel/syscalls/open/open14.c index 0d832cb..f78a364 100644 --- a/testcases/kernel/syscalls/open/open14.c +++ b/testcases/kernel/syscalls/open/open14.c @@ -22,7 +22,6 @@ #include #include #include -#include #include #include "test.h" diff --git a/testcases/kernel/syscalls/openat/openat01.c b/testcases/kernel/syscalls/openat/openat01.c index 0441c3a..daed419 100644 --- a/testcases/kernel/syscalls/openat/openat01.c +++ b/testcases/kernel/syscalls/openat/openat01.c @@ -28,7 +28,6 @@ #include #include -#include #include #include #include diff --git a/testcases/kernel/syscalls/openat/openat02.c b/testcases/kernel/syscalls/openat/openat02.c index e2eefda..2ce1190 100644 --- a/testcases/kernel/syscalls/openat/openat02.c +++ b/testcases/kernel/syscalls/openat/openat02.c @@ -38,7 +38,6 @@ #include #include -#include #include #include #include diff --git a/testcases/kernel/syscalls/openat/openat03.c b/testcases/kernel/syscalls/openat/openat03.c index 7e816f2..2846fd0 100644 --- a/testcases/kernel/syscalls/openat/openat03.c +++ b/testcases/kernel/syscalls/openat/openat03.c @@ -22,7 +22,6 @@ #include #include #include -#include #include #include "test.h" diff --git a/testcases/kernel/syscalls/pipe/pipe12.c b/testcases/kernel/syscalls/pipe/pipe12.c index 4c7eda2..f524040 100644 --- a/testcases/kernel/syscalls/pipe/pipe12.c +++ b/testcases/kernel/syscalls/pipe/pipe12.c @@ -11,7 +11,6 @@ #define _GNU_SOURCE #include #include -#include #include "tst_test.h" #include "lapi/fcntl.h" diff --git a/testcases/kernel/syscalls/pipe2/pipe2_04.c b/testcases/kernel/syscalls/pipe2/pipe2_04.c index 432007e..3789435 100644 --- a/testcases/kernel/syscalls/pipe2/pipe2_04.c +++ b/testcases/kernel/syscalls/pipe2/pipe2_04.c @@ -11,7 +11,6 @@ #define _GNU_SOURCE #include #include -#include #include #include #include "lapi/fcntl.h" diff --git a/testcases/kernel/syscalls/renameat/renameat01.c b/testcases/kernel/syscalls/renameat/renameat01.c index 817e217..9df4b70 100644 --- a/testcases/kernel/syscalls/renameat/renameat01.c +++ b/testcases/kernel/syscalls/renameat/renameat01.c @@ -41,7 +41,6 @@ #include #include #include -#include #include #include #include diff --git a/testcases/kernel/syscalls/signalfd4/signalfd4_01.c b/testcases/kernel/syscalls/signalfd4/signalfd4_01.c index 9f85973..960c7ce 100644 --- a/testcases/kernel/syscalls/signalfd4/signalfd4_01.c +++ b/testcases/kernel/syscalls/signalfd4/signalfd4_01.c @@ -54,7 +54,6 @@ /* Ported to LTP */ /* - Jan 08 2009 - Subrata */ /******************************************************************************/ -#include #include #include #include diff --git a/testcases/kernel/syscalls/socket/socket02.c b/testcases/kernel/syscalls/socket/socket02.c index afe9dc1..59fd942 100644 --- a/testcases/kernel/syscalls/socket/socket02.c +++ b/testcases/kernel/syscalls/socket/socket02.c @@ -12,7 +12,6 @@ * in socket() in kernel 2.6.27. */ -#include #include #include #include diff --git a/testcases/kernel/syscalls/socketpair/socketpair02.c b/testcases/kernel/syscalls/socketpair/socketpair02.c index 72ca0e8..e23945c 100644 --- a/testcases/kernel/syscalls/socketpair/socketpair02.c +++ b/testcases/kernel/syscalls/socketpair/socketpair02.c @@ -13,7 +13,6 @@ */ #include -#include #include #include #include diff --git a/testcases/kernel/syscalls/tee/tee01.c b/testcases/kernel/syscalls/tee/tee01.c index db2ac1e..cee6ed7 100644 --- a/testcases/kernel/syscalls/tee/tee01.c +++ b/testcases/kernel/syscalls/tee/tee01.c @@ -11,7 +11,6 @@ #include #include #include -#include #include "tst_test.h" #include "lapi/fcntl.h" diff --git a/testcases/kernel/syscalls/timerfd/timerfd02.c b/testcases/kernel/syscalls/timerfd/timerfd02.c index c544406..88742b8 100644 --- a/testcases/kernel/syscalls/timerfd/timerfd02.c +++ b/testcases/kernel/syscalls/timerfd/timerfd02.c @@ -54,7 +54,6 @@ /* - Jan 08 2009 - Subrata */ /******************************************************************************/ -#include #include #include #include diff --git a/testcases/kernel/syscalls/timerfd/timerfd03.c b/testcases/kernel/syscalls/timerfd/timerfd03.c index e288251..41aa946 100644 --- a/testcases/kernel/syscalls/timerfd/timerfd03.c +++ b/testcases/kernel/syscalls/timerfd/timerfd03.c @@ -50,7 +50,6 @@ /* Ported to LTP */ /* - Jan 13 2009 - Subrata */ /******************************************************************************/ -#include #include #include #include diff --git a/testcases/kernel/syscalls/vmsplice/vmsplice01.c b/testcases/kernel/syscalls/vmsplice/vmsplice01.c index 1d1b66d..36ecc08 100644 --- a/testcases/kernel/syscalls/vmsplice/vmsplice01.c +++ b/testcases/kernel/syscalls/vmsplice/vmsplice01.c @@ -11,7 +11,6 @@ #include #include #include -#include #include #include "tst_test.h" diff --git a/testcases/kernel/syscalls/vmsplice/vmsplice02.c b/testcases/kernel/syscalls/vmsplice/vmsplice02.c index 39c407c..0135b6f 100644 --- a/testcases/kernel/syscalls/vmsplice/vmsplice02.c +++ b/testcases/kernel/syscalls/vmsplice/vmsplice02.c @@ -18,9 +18,7 @@ #include #include -#include #include -#include #include #include 2.7.4