[gnutls-devel] GnuTLS | Add CI tarball build (!809)

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Wed Nov 21 20:34:55 CET 2018


Nikos Mavrogiannopoulos started a new discussion on tests/cert-tests/pem-decoding:

>  	exit ${rc}
>  fi
>  
> -cat "${srcdir}/data/xmpp-othername.pem" |grep -v "Not After:" >${TMPFILE1}
> -cat ${TMPFILE} |grep -v "Not After:" >${TMPFILE2}
> -${DIFF} -I ^warning -I 'Algorithm Security Level' ${TMPFILE1} ${TMPFILE2} || ${DIFF} -I 'Algorithm Security Level' --strip-trailing-cr ${TMPFILE1} ${TMPFILE2}
> +grep -v "Not After:" "${srcdir}/data/xmpp-othername.pem" >${TMPFILE1}
> +egrep -v '^warning|Not After:' ${TMPFILE} >${TMPFILE2}

What about simulating the `DIFF -I` using a function call? This would not only simplify the use but also can be portable (it could even eliminate the need for `tr -d '\r'`).

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/merge_requests/809#note_119175823
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20181121/2cadf625/attachment.html>


More information about the Gnutls-devel mailing list