diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2017-04-07 10:35:33 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2017-04-07 10:55:17 +0200 |
commit | df66a1184c4221674e9591f976684bb195d1c378 (patch) | |
tree | d05285e3af8a66fd2715ee249decc0ef2a5f2f87 | |
parent | fe05c4e12a8ad4978fb5c291a71bf534386549d0 (diff) | |
download | gnutls-tmp-print-keypin-on-certtool.tar.gz |
tests: do not run pkgconfig test in systems with invalid libidn flagstmp-print-keypin-on-certtool
This prevents our test from failing, due to invalid flags found in
a dependency of ours.
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
-rwxr-xr-x | tests/pkgconfig.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/pkgconfig.sh b/tests/pkgconfig.sh index 75bb59d10a..584c5691f1 100755 --- a/tests/pkgconfig.sh +++ b/tests/pkgconfig.sh @@ -34,6 +34,12 @@ ${PKGCONFIG} --version >/dev/null || exit 77 PKG_CONFIG_PATH=${top_builddir}/lib export PKG_CONFIG_PATH +OTHER=$(${PKGCONFIG} --libs --static libidn) +if test -n "${OTHER}" && test "${string#*-R}" != "$string";then + echo "Found invalid string in libidn flags: ${OTHER}" + exit 77 +fi + set -e cat >$TMPFILE <<__EOF__ |