tests: avoid infinite recursion for make check

The combination of a misspelled directory name and failing to check the
result of cd leads to infinite recursion as `make check` simply invokes
itself over and over.

Follow-up to 00887aee8c #18079
Closes #21378
This commit is contained in:
Dag-Erling Smørgrav 2026-04-19 18:14:44 +02:00 committed by Viktor Szakats
parent 6506693f0b
commit 759f2e5d97
No known key found for this signature in database

View file

@ -81,4 +81,4 @@ clean-local:
check: libtests
libtests:
@(cd ../libtests; $(MAKE) check)
@(cd ../libtest && $(MAKE) check)