[LTP] [PATCH] testcases: Add a few missing gitignore files

Li Zhijian lizhijian@fujitsu.com
Tue Oct 15 07:50:04 CEST 2024


After a out-of-tree build, git status complains:
Untracked files:
  (use "git add <file>..." to include in what will be committed)
        testcases/commands/insmod/.Module.symvers.cmd
        testcases/commands/insmod/.modules.order.cmd
        testcases/commands/lsmod/.Module.symvers.cmd
        testcases/commands/lsmod/.modules.order.cmd
        testcases/kernel/syscalls/delete_module/.Module.symvers.cmd
        testcases/kernel/syscalls/delete_module/.modules.order.cmd
        testcases/kernel/syscalls/finit_module/..module-common.o.cmd
        testcases/kernel/syscalls/finit_module/.Module.symvers.cmd
        testcases/kernel/syscalls/finit_module/.finit_module.ko.cmd
        testcases/kernel/syscalls/finit_module/.finit_module.mod.cmd
        testcases/kernel/syscalls/finit_module/.finit_module.mod.o.cmd
        testcases/kernel/syscalls/finit_module/.finit_module.o.cmd
        testcases/kernel/syscalls/finit_module/.modules.order.cmd
        testcases/kernel/syscalls/finit_module/Module.symvers
        testcases/kernel/syscalls/finit_module/finit_module.mod.c
        testcases/kernel/syscalls/finit_module/modules.order
        testcases/kernel/syscalls/init_module/.Module.symvers.cmd
        testcases/kernel/syscalls/init_module/.modules.order.cmd

Signed-off-by: Li Zhijian <lizhijian@fujitsu.com>
---
 testcases/commands/insmod/.gitignore               | 6 +-----
 testcases/commands/lsmod/.gitignore                | 6 +-----
 testcases/kernel/syscalls/delete_module/.gitignore | 6 +-----
 testcases/kernel/syscalls/finit_module/.gitignore  | 4 ++++
 testcases/kernel/syscalls/init_module/.gitignore   | 6 +-----
 5 files changed, 8 insertions(+), 20 deletions(-)

diff --git a/testcases/commands/insmod/.gitignore b/testcases/commands/insmod/.gitignore
index e568d92b65..ba8fca18a0 100644
--- a/testcases/commands/insmod/.gitignore
+++ b/testcases/commands/insmod/.gitignore
@@ -1,10 +1,6 @@
 *.ko
 *.mod.c
-*.ko.cmd
-*.mod.cmd
-*.mod.o.cmd
-*.o.cmd
-.built-in.a.cmd
+*.cmd
 Module.symvers
 modules.order
 modules.livepatch
diff --git a/testcases/commands/lsmod/.gitignore b/testcases/commands/lsmod/.gitignore
index e568d92b65..ba8fca18a0 100644
--- a/testcases/commands/lsmod/.gitignore
+++ b/testcases/commands/lsmod/.gitignore
@@ -1,10 +1,6 @@
 *.ko
 *.mod.c
-*.ko.cmd
-*.mod.cmd
-*.mod.o.cmd
-*.o.cmd
-.built-in.a.cmd
+*.cmd
 Module.symvers
 modules.order
 modules.livepatch
diff --git a/testcases/kernel/syscalls/delete_module/.gitignore b/testcases/kernel/syscalls/delete_module/.gitignore
index 161aac4a2f..e08f20d176 100644
--- a/testcases/kernel/syscalls/delete_module/.gitignore
+++ b/testcases/kernel/syscalls/delete_module/.gitignore
@@ -3,11 +3,7 @@
 /delete_module03
 /*.ko
 /*.mod.c
-/*.ko.cmd
-/*.mod.cmd
-/*.mod.o.cmd
-/*.o.cmd
-/.built-in.a.cmd
+/*.cmd
 /Module.symvers
 /modules.order
 modules.livepatch
diff --git a/testcases/kernel/syscalls/finit_module/.gitignore b/testcases/kernel/syscalls/finit_module/.gitignore
index 59026b25c9..3aebad3378 100644
--- a/testcases/kernel/syscalls/finit_module/.gitignore
+++ b/testcases/kernel/syscalls/finit_module/.gitignore
@@ -1,4 +1,8 @@
 /finit_module01
 /finit_module02
 /*.ko
+/*.cmd
+/*.order
+/*.mod.c
+/Module.symvers
 modules.livepatch
diff --git a/testcases/kernel/syscalls/init_module/.gitignore b/testcases/kernel/syscalls/init_module/.gitignore
index 437c79d943..bb9f982587 100644
--- a/testcases/kernel/syscalls/init_module/.gitignore
+++ b/testcases/kernel/syscalls/init_module/.gitignore
@@ -2,11 +2,7 @@
 /init_module02
 /*.ko
 /*.mod.c
-/*.ko.cmd
-/*.mod.cmd
-/*.mod.o.cmd
-/*.o.cmd
-/.built-in.a.cmd
+/*.cmd
 /Module.symvers
 /modules.order
 modules.livepatch
-- 
2.44.0



More information about the ltp mailing list