diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-05-18 22:00:52 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-05-18 22:06:00 +0900 |
| commit | 594221eb78fede12840121982782a470e6ed29d0 (patch) | |
| tree | 84142dce80eb59e4b8b0a2babad2777de5c37c85 /internal/rosa/package/gnutls/alpine-tests-certtool.patch | |
| parent | 34822925e18cb35e1815d3837a8b55169953d876 (diff) | |
internal/rosa/package: migrate gnutls
This is the first nontrivial package to be migrated to azalea. Validated to generate identical IR.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/rosa/package/gnutls/alpine-tests-certtool.patch')
| -rw-r--r-- | internal/rosa/package/gnutls/alpine-tests-certtool.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/internal/rosa/package/gnutls/alpine-tests-certtool.patch b/internal/rosa/package/gnutls/alpine-tests-certtool.patch new file mode 100644 index 00000000..083b2a5e --- /dev/null +++ b/internal/rosa/package/gnutls/alpine-tests-certtool.patch @@ -0,0 +1,26 @@ +I think this tests is simply wrong. +When a PIN is given, the program should run in batch mode. +So the question for "Enter password" should _not_ be present. + +DO NOT REMOVE UNLESS VERIFIED IT'S NOT ACTUALLY NECESSARY ANYMORE. + +--- a/tests/cert-tests/certtool.sh 2019-02-07 07:33:45.960887338 +0000 ++++ b/tests/cert-tests/certtool.sh 2019-02-07 07:36:14.550955051 +0000 +@@ -49,7 +49,7 @@ + + #check whether password is being honoured + #some CI runners need GNUTLS_PIN (GNUTLS_PIN=${PASS}) +- ${SETSID} "${CERTTOOL}" --generate-self-signed --load-privkey ${TMPFILE1} --template ${srcdir}/templates/template-test.tmpl --ask-pass >${TMPFILE2} 2>&1 <<EOF ++ GNUTLS_PIN=${PASS} ${SETSID} "${CERTTOOL}" --generate-self-signed --load-privkey ${TMPFILE1} --template ${srcdir}/templates/template-test.tmpl --ask-pass >${TMPFILE2} 2>&1 <<EOF + $PASS + EOF + if test $? != 0;then +@@ -59,7 +59,7 @@ + fi + + grep "Enter password" ${TMPFILE2} >/dev/null 2>&1 +- if test $? != 0;then ++ if test $? != 1; then + cat ${TMPFILE2} + echo "No password was asked" + exit 1 |
