From b6e522ad03d7eeaf628cc205acfd111f39fa23a8 Mon Sep 17 00:00:00 2001 From: Tom Krizek Date: Wed, 16 Aug 2023 13:45:29 +0200 Subject: [PATCH] .gitignore temporary directories and symlinks in system test dir (cherry picked from commit 355dc733911fcaf2df7039a6b609c04a09f948ae) --- bin/tests/system/.gitignore | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/bin/tests/system/.gitignore b/bin/tests/system/.gitignore index d515e8ec36..cdf333c5bf 100644 --- a/bin/tests/system/.gitignore +++ b/bin/tests/system/.gitignore @@ -23,4 +23,10 @@ parallel.mk /start.sh /stop.sh /ifconfig.sh -/*_tmp_* + +# Ignore file names with underscore in their name except python or shell files. +# This is done to ignore the temporary directories and symlinks created by the +# pytest runner, which contain underscore in their file names. +/*_* +!/*_*.py +!/*_*.sh