mkinitrd unification across distributions
 help / color / mirror / Atom feed
* [PATCH 03/11] add target "check"
@ 2009-05-15 12:39 Harald Hoyer
  0 siblings, 0 replies; only message in thread
From: Harald Hoyer @ 2009-05-15 12:39 UTC (permalink / raw)
  To: initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org

[-- Attachment #1: Type: text/plain, Size: 107 bytes --]


add dash syntax checking
---
  Makefile |    5 +++++
  1 files changed, 5 insertions(+), 0 deletions(-)



[-- Attachment #2: 5cb6c761c14147c54b63ccfc83b899f1c2964c65.diff --]
[-- Type: text/x-patch, Size: 473 bytes --]

diff --git a/Makefile b/Makefile
index 0474ede..ef264eb 100644
--- a/Makefile
+++ b/Makefile
@@ -38,6 +38,11 @@ test: test/root.ext2 all
 test/root.ext2: test/test-init test/make-test-root
 	sudo test/make-test-root
 
+check:
+	@ret=0;for i in modules.d/99base/init modules.d/*/*.sh; do \
+		dash -n "$$i" ; ret=$$(($$ret+$$?)); \
+	done;exit $$ret
+
 testimage: all
 	./dracut -l -f test-$(shell uname -r).img $(shell uname -r)
 	@echo wrote  test-$(shell uname -r).img 


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2009-05-15 12:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-15 12:39 [PATCH 03/11] add target "check" Harald Hoyer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox