Skip to content

Commit

Permalink
Unit-test: Change 'easyrsa write' target to file, replace directory
Browse files Browse the repository at this point in the history
Signed-off-by: Richard T Bonhomme <[email protected]>
  • Loading branch information
TinCanTech committed Jul 20, 2024
1 parent f4274f0 commit 420e433
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion dev/easytls-unit-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 || \
Expand Down

0 comments on commit 420e433

Please sign in to comment.