Treat bin/tests/system/_common as non-temp directory

The _common directory is a special case directory which contains shared
files for other system test directories. Make sure it's tracked in git
and not deleted during temporary directory cleanup.
This commit is contained in:
Tom Krizek 2023-09-18 17:20:01 +02:00
parent 168dba163c
commit 9e13c3dbcb
No known key found for this signature in database
GPG key ID: 01623B9B652A20A7
2 changed files with 2 additions and 1 deletions

View file

@ -26,3 +26,4 @@ named.run
/*_*
!/*_*.py
!/*_*.sh
!/_common

View file

@ -240,4 +240,4 @@ $(TESTS): legacy.run.sh
test-local: check
clean-local::
-find $(builddir) -maxdepth 1 -type d -name "*_*" | xargs rm -rf
-find -L . -mindepth 1 -maxdepth 1 -type d -name "*_*" -and -not -name "_common" -exec rm -rf {} \;