diff options
author | Fredrik Domeij <fredrik.domeij@umu.se> | 2020-02-27 13:49:34 +0100 |
---|---|---|
committer | Fredrik Domeij <fredrik.domeij@umu.se> | 2020-02-27 13:49:34 +0100 |
commit | c5992609cd4df4ab38cc0500e55b7c67ca173771 (patch) | |
tree | 069cf6a679405b986c30ce2b91d5c3add25f74e4 /Makefile | |
parent | 5d6ace1d99747a98e7073e7a9f56c27996a648e9 (diff) |
test5.release-check.swamid.se added, with registrationAuthority www.swamid.se/loop
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -255,7 +255,7 @@ testAttributeInIdP: testRegistrationAuthority: @echo "Check for registrationAuthority="http://www.swamid.se/" in EntityDescriptor/Extensions" @for x in `find $(SRCDIRS) -name \*.xml`; do \ - if ! cat $$x | sed 's;\(</*\)[a-z0-9]*:;\1;g' | sed 's/xmlns="[^"]*"//' | xmllint --xpath "/EntityDescriptor/Extensions" - 2>/dev/null | grep -q 'registrationAuthority="http://www.swamid.se/"' ; then \ + if ! cat $$x | sed 's;\(</*\)[a-z0-9]*:;\1;g' | sed 's/xmlns="[^"]*"//' | xmllint --xpath "/EntityDescriptor/Extensions" - 2>/dev/null | grep -qE 'registrationAuthority="http://www.swamid.se/"|registrationAuthority="http://www.swamid.se/loop"' ; then \ echo " $$x" | sed 's/.*/[1;31m&[0m/' ;\ fi;\ done | grep . && exit 1 || exit 0 |