Clean kernel/containers folder
PATCH 1/1 Clean kernel/containers folder
From: Andrea Cervesato <[email protected]>
Cleaned up the containers Makefile from unused dependences, removed legacy files and splitted .gitignore into subfolders.
Signed-off-by Andrea Cervesato <[email protected]>
--- testcases/kernel/containers/.gitignore | 14 ------ testcases/kernel/containers/README | 48 ------------------- testcases/kernel/containers/TEST_PLAN.txt | 27 ----------- .../kernel/containers/mountns/.gitignore | 4 ++ testcases/kernel/containers/mqns/Makefile | 2 +- testcases/kernel/containers/pidns/Makefile | 2 +- testcases/kernel/containers/userns/.gitignore | 9 ++++ testcases/kernel/containers/userns/Makefile | 20 ++------ testcases/kernel/containers/utsname/Makefile | 3 -- 9 files changed, 18 insertions(+), 111 deletions(-) delete mode 100644 testcases/kernel/containers/.gitignore delete mode 100644 testcases/kernel/containers/README delete mode 100644 testcases/kernel/containers/TEST_PLAN.txt create mode 100644 testcases/kernel/containers/mountns/.gitignore create mode 100644 testcases/kernel/containers/userns/.gitignore
testcases/kernel/containers/.gitignore deleted +0 -14
@@ -1,14 +0,0 @@ -/check_for_unshare -mountns/mountns01 -mountns/mountns02 -mountns/mountns03 -mountns/mountns04 -userns/userns01 -userns/userns02 -userns/userns03 -userns/userns04 -userns/userns05 -userns/userns06_capcheck -userns/userns06 -userns/userns07 -userns/userns08
testcases/kernel/containers/README deleted +0 -48
48 lines not on this page · raw message
testcases/kernel/containers/TEST_PLAN.txt deleted +0 -27
@@ -1,27 +0,0 @@ -################################################################################ -## Copyright (c) International Business Machines Corp., 2007 -## -## This program is free software; you can redistribute it and#or modify -## it under the terms of the GNU General Public License as published by -## the Free Software Foundation; either version 2 of the License, or -## (at your option) any later version. -## This program is distributed in the hope that it will be useful, but -## WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -## or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -## for more details. -## You should have received a copy of the GNU General Public License -## along with this program; if not, write to the Free Software -## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -################################################################################ - -Following are tentative Testcases to be included into LTP-Containers in future: - -NAME TENTATIVE-TIME -================================================================================= -PID NAMESPACES (NEAR FUTURE) -NETWORK NAMESPACES (NEAR FUTURE) -POSIX IPC NAMESPACES (NEAR FUTURE) -TTY+CONSOLE+DEVPTS NAMESPACES (NEAR FUTURE) -PROC+SYSFS ISOLATION (NEAR FUTURE) -PER-CONTAINER CAPABILITY/SECURITY TESTS (NEAR FUTURE) -=================================================================================
testcases/kernel/containers/mountns/.gitignore new file +4 -0
@@ -0,0 +1,4 @@ +mountns01 +mountns02 +mountns03 +mountns04
testcases/kernel/containers/mqns/Makefile +1 -1
@@ -7,6 +7,6 @@ top_srcdir ?= ../../../.. include $(top_srcdir)/include/mk/testcases.mk -LDLIBS := -lpthread -lrt $(LDLIBS) +LDLIBS := -lrt $(LDLIBS) include $(top_srcdir)/include/mk/generic_leaf_target.mk
testcases/kernel/containers/pidns/Makefile +1 -1
@@ -5,6 +5,6 @@ top_srcdir ?= ../../../.. include $(top_srcdir)/include/mk/testcases.mk -LDLIBS := -lpthread -lrt $(LDLIBS) +LDLIBS := -lrt $(LDLIBS) include $(top_srcdir)/include/mk/generic_leaf_target.mk
testcases/kernel/containers/userns/.gitignore new file +9 -0
@@ -0,0 +1,9 @@ +userns01 +userns02 +userns03 +userns04 +userns05 +userns06_capcheck +userns06 +userns07 +userns08
testcases/kernel/containers/userns/Makefile +3 -17
@@ -1,20 +1,6 @@ -############################################################################### -# ## -# Copyright (c) Huawei Technologies Co., Ltd., 2015 ## -# ## -# This program is free software; you can redistribute it and#or modify ## -# it under the terms of the GNU General Public License as published by ## -# the Free Software Foundation; either version 2 of the License, or ## -# (at your option) any later version. ## -# ## -# This program is distributed in the hope that it will be useful, but ## -# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY ## -# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License ## -# for more details. ## -# ## -# You should have received a copy of the GNU General Public License ## -# along with this program. ## -############################################################################### +# SPDX-License-Identifier: GPL-2.0-or-later +# Copyright (c) Huawei Technologies Co., Ltd., 2015 +# Copyright (C) 2023 SUSE LLC Andrea Cervesato <[email protected]> top_srcdir ?= ../../../..
testcases/kernel/containers/utsname/Makefile +0 -3
@@ -4,7 +4,4 @@ top_srcdir ?= ../../../.. include $(top_srcdir)/include/mk/testcases.mk - -LDLIBS := $(LDLIBS) - include $(top_srcdir)/include/mk/generic_leaf_target.mk
Signature · 5 lines
2.35.3 -- Mailing list info: https://lists.linux.it/listinfo/ltp
Hi!
Applied, thanks.
Signature · 5 lines
Cyril Hrubis [email protected] -- Mailing list info: https://lists.linux.it/listinfo/ltp