selftests: gitignore and clean target file additions
Subsystems (7)
v3 cover selftests: gitignore and clean target file additions
Trivial patches to update the gitignore files unders selftests, and a little addition to EXTRA_CLEAN under net/rds to account for the automatically generated include.sh.
---
Changes in v3:
- Split new entries in core and net gitignore files into two patches.
- Link to v2: https://lore.kernel.org/r/[email protected]
Changes in v2:
- [PATCH 4/4] add excepction for load_address.c (must be tracked).
- Link to v1: https://lore.kernel.org/r/[email protected]
---
Javier Carrasco (5):
selftests: core: add unshare_test to gitignore
selftests: net: add msg_oob to gitignore
selftests: rds: add include.sh to EXTRA_CLEAN
selftests: rds: add gitignore file for include.sh
selftests: exec: update gitignore for load_address
tools/testing/selftests/core/.gitignore | 1 + tools/testing/selftests/exec/.gitignore | 3 ++- tools/testing/selftests/net/.gitignore | 1 + tools/testing/selftests/net/rds/.gitignore | 1 + tools/testing/selftests/net/rds/Makefile | 2 +- 5 files changed, 6 insertions(+), 2 deletions(-)
---
base-commit: 4d0326b60bb753627437fff0f76bf1525bcda422
change-id: 20240924-selftests-gitignore-e41133e6c5bd
Best regards,
Signature · 1 line
Javier Carrasco <[email protected]>
PATCH v3 1/5 selftests: core: add unshare_test to gitignore
This executable is missing from the corresponding gitignore file. Add unshare_test to the core gitignore list.
--- tools/testing/selftests/core/.gitignore | 1 + 1 file changed, 1 insertion(+)
tools/testing/selftests/core/.gitignore +1 -0
@@ -1 +1,2 @@ close_range_test +unshare_test
Signature · 1 line
2.43.0
Shuah Khan
maintainerRe: [PATCH v3 1/5] selftests: core: add unshare_test to gitignore
Quoted 14 lines · Javier Carrasco
This executable is missing from the corresponding gitignore file. Add
unshare_testto the core gitignore list.Signed-off-by Javier Carrasco <[email protected]>--- tools/testing/selftests/core/.gitignore | 1 + 1 file changed, 1 insertion(+)tools/testing/selftests/core/.gitignore +0
-0
tools/testing/selftests/core/.gitignore line 2
Quoted 2 lines
tools/testing/selftests/core/.gitignore +1
-0@@ -1 +1,2 @@ close_range_test +unshare_test
Applied to linux-kselftest fixes for next rc.
thanks,
-- Shuah
PATCH v3 2/5 selftests: net: add msg_oob to gitignore
In reply to Javier CarrascoThis executable is missing from the corresponding gitignore file. Add msg_oob to the net gitignore list.
--- tools/testing/selftests/net/.gitignore | 1 + 1 file changed, 1 insertion(+)
tools/testing/selftests/net/.gitignore +1 -0
@@ -17,6 +17,7 @@ ipv6_flowlabel ipv6_flowlabel_mgr log.txt msg_zerocopy +msg_oob ncdevmem nettest psock_fanout
Signature · 1 line
2.43.0
PATCH v3 3/5 selftests: rds: add include.sh to EXTRA_CLEAN
In reply to Javier CarrascoThe include.sh file is generated when building the net/rds selftests, but there is no rule to delete it with the clean target. Add the file to EXTRA_CLEAN in order to remove it when required.
--- tools/testing/selftests/net/rds/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tools/testing/selftests/net/rds/Makefile +1 -1
@@ -7,6 +7,6 @@ TEST_PROGS := run.sh \ include.sh \ test.py -EXTRA_CLEAN := /tmp/rds_logs +EXTRA_CLEAN := /tmp/rds_logs include.sh include ../../lib.mk
Signature · 1 line
2.43.0
PATCH v3 4/5 selftests: rds: add gitignore file for include.sh
In reply to Javier CarrascoThe generated include.sh should be ignored by git. Create a new gitignore and add the file to the list.
--- tools/testing/selftests/net/rds/.gitignore | 1 + 1 file changed, 1 insertion(+)
tools/testing/selftests/net/rds/.gitignore new file +1 -0
@@ -0,0 +1 @@ +include.sh
Signature · 1 line
2.43.0
PATCH v3 5/5 selftests: exec: update gitignore for load_address
In reply to Javier CarrascoThe name of the "load_address" objects has been modified, but the corresponding entry in the gitignore file must be updated.
Update the load_address entry in the gitignore file to account for the new names, adding an exception to keep on tracking load_address.c.
--- tools/testing/selftests/exec/.gitignore | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
tools/testing/selftests/exec/.gitignore +2 -1
@@ -9,7 +9,8 @@ execveat.ephemeral execveat.denatured non-regular null-argv -/load_address_* +/load_address.* +!load_address.c /recursion-depth xxxxxxxx* pipe
Signature · 1 line
2.43.0
Shuah Khan
maintainerRe: [PATCH v3 5/5] selftests: exec: update gitignore for load_address
Quoted 17 lines · Javier Carrasco
The name of the "
load_address" objects has been modified, but the corresponding entry in the gitignore file must be updated.Update the
load_addressentry in the gitignore file to account for the new names, adding an exception to keep on trackingload_address.c.Signed-off-by Javier Carrasco <[email protected]>--- tools/testing/selftests/exec/.gitignore | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)tools/testing/selftests/exec/.gitignore +0
-0
tools/testing/selftests/exec/.gitignore execveat.ephemeral · line 16
Quoted 9 lines
tools/testing/selftests/exec/.gitignore +2
-1@@ -9,7 +9,8 @@ execveat.ephemeral execveat.denatured non-regular null-argv -/load_address_* +/load_address.* +!load_address.c /recursion-depth xxxxxxxx* pipe
Applied to linux-kselftest fixes for next rc.
thanks,
-- Shuah
Quoted 28 lines · Javier Carrasco
Trivial patches to update the gitignore files unders selftests, and a little addition to
EXTRA_CLEANunder net/rds to account for the automatically generatedinclude.sh.Signed-off-by Javier Carrasco <[email protected]>---
Changes in v3:
- Split new entries in core and net gitignore files into two patches.
- Link to v2: https://lore.kernel.org/r/[email protected]Changes in v2:
- [PATCH 4/4] add excepction forload_address.c(must be tracked).
- Link to v1: https://lore.kernel.org/r/[email protected]---
Javier Carrasco (5):
selftests: core: addunshare_testto gitignore
selftests: net: addmsg_oobto gitignore
selftests: rds: addinclude.shtoEXTRA_CLEAN
selftests: rds: add gitignore file forinclude.sh
selftests: exec: update gitignore forload_addresstools/testing/selftests/core/.gitignore | 1 + tools/testing/selftests/exec/.gitignore | 3 ++- tools/testing/selftests/net/.gitignore | 1 + tools/testing/selftests/net/rds/.gitignore | 1 + tools/testing/selftests/net/rds/Makefile | 2 +- 5 files changed, 6 insertions(+), 2 deletions(-)
Quoted 5 lines
---
base-commit:4d0326b60bb753627437fff0f76bf1525bcda422
change-id: 20240924-selftests-gitignore-e41133e6c5bdBest regards,
I sent the net-related patches in a separate series:
- [PATCH v3 2/5] selftests: net: add msg_oob to gitignore
- [PATCH v3 3/5] selftests: rds: add include.sh to EXTRA_CLEAN
- [PATCH v3 4/5] selftests: rds: add gitignore file for include.sh
The rest of the patches belong to selftests too, and can be applied from this series:
- [PATCH v3 1/5] selftests: core: add unshare_test to gitignore
- [PATCH v3 5/5] selftests: exec: update gitignore for load_address
Thanks and best regards,
Javier Carrasco