[PATCH nolibc v1] selftests/nolibc: Avoid generated files being committed

From: Willy Tarreau
Date: Tue Jul 19 2022 - 23:37:54 EST


From: "Fernanda Ma'rouf" <fernandafmr12@xxxxxxxxxxx>

After running the nolibc tests, the "git status" is not clean because
the generated files are not ignored. Create a `.gitignore` inside the
selftests/nolibc directory to ignore them.

Cc: Ammar Faizi <ammarfaizi2@xxxxxxxxxxx>
Cc: Fernanda Ma'rouf <fernandafmr2@xxxxxxxxx>
Signed-off-by: Fernanda Ma'rouf <fernandafmr12@xxxxxxxxxxx>
Signed-off-by: Willy Tarreau <w@xxxxxx>
---

Paul,

Fernanda sent me this which I think is a desirable cleanup to the
series I sent you. If you're fine with adding it on top of what you
already have, that's great. Otherwise I can queue it here for next
time, but this should improve the user's experience.

Thanks,
Willy

--
tools/testing/selftests/nolibc/.gitignore | 4 ++++
1 file changed, 4 insertions(+)
create mode 100644 tools/testing/selftests/nolibc/.gitignore

diff --git a/tools/testing/selftests/nolibc/.gitignore b/tools/testing/selftests/nolibc/.gitignore
new file mode 100644
index 000000000000..4696df589d68
--- /dev/null
+++ b/tools/testing/selftests/nolibc/.gitignore
@@ -0,0 +1,4 @@
+/initramfs/
+/nolibc-test
+/run.out
+/sysroot/

base-commit: 1e93ece89dd1c6217b92ef6fc100df9ba202c30c