From 05f0ff5a303ac187de8afaef60c470ed2c19a19d Mon Sep 17 00:00:00 2001 From: Enji Cooper Date: Wed, 29 Oct 2014 04:32:46 +0000 Subject: [PATCH] Fix the logic inversion in the previous commit by ensuring that the matched expression (:M) is empty, not the not matched (:N) is empty. The former case means we have not found the TEST_SUBDIR value in SUBDIR Reported by: rodrigc X-MFC with: r273803 Pointyhat to: me (did not use a clean install root) Sponsored by: EMC / Isilon Storage Division --- share/mk/bsd.test.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/mk/bsd.test.mk b/share/mk/bsd.test.mk index 19a230512db..b204a3c24ff 100644 --- a/share/mk/bsd.test.mk +++ b/share/mk/bsd.test.mk @@ -55,7 +55,7 @@ _TESTS= .include .for ts in ${TESTS_SUBDIRS} -.if empty(SUBDIR:N${ts}) +.if empty(SUBDIR:M${ts}) SUBDIR+= ${ts} .endif .endfor