misc: move exit status into trap handler
[xfstests-dev.git] / tests / Makefile
index 254dd481e20eb35977cfcf15b1bdcd1146b2188d..8ce8f209521ab44b1d063b16f0d83f5b3f01af73 100644 (file)
@@ -5,7 +5,7 @@
 TOPDIR = ..
 include $(TOPDIR)/include/builddefs
 
-TESTS_SUBDIRS = $(shell find . -maxdepth 1 -type d | sed -n -e 's/\.\///gp')
+TESTS_SUBDIRS = $(sort $(dir $(wildcard $(CURDIR)/[[:lower:]]*/)))
 
 include $(BUILDRULES)