From 83d4b144127f337c29a2b15314d89e4ca3016ea6 Mon Sep 17 00:00:00 2001 From: Fredrik Åslund Date: Wed, 26 Mar 2014 13:30:33 +0100 Subject: geolocation fixed for idp.his.se committest for geolocation syntax --- Makefile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 9441db91..49201279 100644 --- a/Makefile +++ b/Makefile @@ -128,6 +128,8 @@ committest: test @for x in `find $(SRCDIRS) -name \*.xml`; do if cat $$x | sed 's;\(/dev/null | grep -q entity-category ; then echo " $$x" ; fi ; done | grep . && exit 1 || true @echo "Checking for MDUI in EntityDescriptor/Extensions" @for x in `find $(SRCDIRS) -name \*.xml`; do if cat $$x | sed 's;\(/dev/null | grep -q . ; then echo " $$x" ; fi ; done | grep . && exit 1 || true + @echo "Checking for invalid geodata" + @for x in `find $(SRCDIRS) -name \*.xml`; do if cat $$x | sed -n 's;.*<[a-z0-9:]*GeolocationHint>\(.*\);\1;p' | grep -q -vE '^$$|^geo:[0-9][0-9][0-9.]*,[0-9][0-9][0-9.]*$$' ; then echo " $$x" ; fi ; done | grep . && exit 1 || true commit: tidy committest @git diff --color -- cgit v1.2.3