* [PATCH] selftests/filesystems: Add .gitignore for fscontext_ns_test
@ 2026-08-19 16:17 Mahad Ibrahim
2026-08-31 8:02 ` Christian Brauner
0 siblings, 1 reply; 2+ messages in thread
From: Mahad Ibrahim @ 2026-08-19 16:17 UTC (permalink / raw)
To: brauner, shuah
Cc: linux-fsdevel, linux-kselftest, linux-kernel, Mahad Ibrahim
fscontext_ns_test is listed in TEST_GEN_PROGS and is built in the
fscontext_ns directory, but the directory has no .gitignore. The binary
is thus left untracked by git after being compiled.
git status lists:
Untracked files:
(use "git add <file>..." to include in what will be committed)
tools/testing/selftests/filesystems/fscontext_ns/fscontext_ns_test
Every test directory must include a .gitignore which contains all the
generated objects, as per the documentation and convention.
Add .gitignore to ignore fscontext_ns_test.
Fixes: d64ba78b749a ("selftests/filesystems: test completing a context from another user namespace")
Signed-off-by: Mahad Ibrahim <mahad.ibrahim.dev@gmail.com>
---
tools/testing/selftests/filesystems/fscontext_ns/.gitignore | 2 ++
1 file changed, 2 insertions(+)
create mode 100644 tools/testing/selftests/filesystems/fscontext_ns/.gitignore
diff --git a/tools/testing/selftests/filesystems/fscontext_ns/.gitignore b/tools/testing/selftests/filesystems/fscontext_ns/.gitignore
new file mode 100644
index 000000000000..a632905257a3
--- /dev/null
+++ b/tools/testing/selftests/filesystems/fscontext_ns/.gitignore
@@ -0,0 +1,2 @@
+# SPDX-License-Identifier: GPL-2.0-only
+fscontext_ns_test
base-commit: 0f23d56f17fdfc7db69d51f64c8b91bbab947aa9
--
2.54.0
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] selftests/filesystems: Add .gitignore for fscontext_ns_test
2026-08-19 16:17 [PATCH] selftests/filesystems: Add .gitignore for fscontext_ns_test Mahad Ibrahim
@ 2026-08-31 8:02 ` Christian Brauner
0 siblings, 0 replies; 2+ messages in thread
From: Christian Brauner @ 2026-08-31 8:02 UTC (permalink / raw)
To: shuah, Mahad Ibrahim; +Cc: linux-fsdevel, linux-kselftest, linux-kernel
On Wed, 19 Aug 2026 16:17:38 +0000, Mahad Ibrahim wrote:
> selftests/filesystems: Add .gitignore for fscontext_ns_test
Applied to the vfs-7.4.misc branch of the vfs/vfs.git tree.
Patches in the vfs-7.4.misc branch should appear in linux-next soon.
Please report any outstanding bugs that were missed during review in a
new review to the original patch series allowing us to drop it.
It's encouraged to provide Acked-bys and Reviewed-bys even though the
patch has now been applied. If possible patch trailers will be updated.
Note that commit hashes shown below are subject to change due to rebase,
trailer updates or similar. If in doubt, please check the listed branch.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs.git
branch: vfs-7.4.misc
[1/1] selftests/filesystems: Add .gitignore for fscontext_ns_test
https://git.kernel.org/vfs/vfs/c/b653a9e55173
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-08-31 8:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-19 16:17 [PATCH] selftests/filesystems: Add .gitignore for fscontext_ns_test Mahad Ibrahim
2026-08-31 8:02 ` Christian Brauner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®