From: Harald Hoyer Date: Wed, 1 Aug 2012 10:50:54 +0000 (+0200) Subject: test/Makefile: fixed TESTS parsing X-Git-Tag: 023~7 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9fd9e96130040b52b54dc565e6bd27e4a3a9aa27;p=thirdparty%2Fdracut.git test/Makefile: fixed TESTS parsing --- diff --git a/test/Makefile b/test/Makefile index 3411035ba..97a7aad83 100644 --- a/test/Makefile +++ b/test/Makefile @@ -5,7 +5,7 @@ check: @for i in TEST-[0-9]*; do \ [ -d $$i ] || continue ; \ [ -f $$i/Makefile ] || continue ; \ - if [ -n "$$TESTS" ]; then t=$${i##TEST-}; t=$${t%-*}; [ "$${TESTS#*$$t*}" != "$$TESTS" ] || continue; fi; \ + if [ -n "$$TESTS" ]; then t=$${i##TEST-}; t=$${t%%-*}; [ "$${TESTS#*$$t*}" != "$$TESTS" ] || continue; fi; \ $(MAKE) -C $$i all ; \ done