From 420e433041fc3325a3c3b56631590ab0e5a6e778 Mon Sep 17 00:00:00 2001 From: Richard T Bonhomme Date: Sat, 20 Jul 2024 14:14:53 +0100 Subject: [PATCH] Unit-test: Change 'easyrsa write' target to file, replace directory Signed-off-by: Richard T Bonhomme --- dev/easytls-unit-tests.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dev/easytls-unit-tests.sh b/dev/easytls-unit-tests.sh index 6a38f5d..2a5c8ec 100755 --- a/dev/easytls-unit-tests.sh +++ b/dev/easytls-unit-tests.sh @@ -673,7 +673,9 @@ elif [ -n "${EASYTLS_REMOTE_CI}" ]; then then : # ok else - "${EASYRSA_CMD}" --pki-dir="${WORK_DIR}/et-tdir${loops}" --batch write safe-cnf "./et-tdir${loops}" || fail "write safe-cnf" + "${EASYRSA_CMD}" --pki-dir="${WORK_DIR}/et-tdir${loops}" \ + --batch write safe-cnf "./et-tdir${loops}/safessl-easyrsa.cnf" || \ + fail "write safe-cnf" fi cp -vf "${WORK_DIR}/et-tdir${loops}/safessl-easyrsa.cnf" ./safessl-easyrsa.cnf || \