Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debug Improvements #107

Merged
merged 2 commits into from
Nov 17, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions tests/helpers.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,13 @@ cleanup_server()

ossl()
{
echo "# r "$* >> ${TMPPDIR}/gdb-commands.txt
simo5 marked this conversation as resolved.
Show resolved Hide resolved
echo openssl $*
eval openssl $1
}

gen_unsetvars() {
grep "^export" ${TMPPDIR}/testvars \
| sed -e 's/export/unset/' -e 's/=.*$//' \
>> ${TMPPDIR}/unsetvars
}
1 change: 1 addition & 0 deletions tests/setup-softhsm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -166,5 +166,6 @@ export ECPEERPRIURI="${ECPEERPRIURI}"
#export PKCS11SPY="${PKCS11_PROVIDER_MODULE}"
#export PKCS11_PROVIDER_MODULE=/usr/lib64/pkcs11-spy.so
DBGSCRIPT
gen_unsetvars

title ENDSECTION
1 change: 1 addition & 0 deletions tests/setup-softokn.sh
Original file line number Diff line number Diff line change
Expand Up @@ -174,5 +174,6 @@ export ECPEERBASEURI="${ECPEERBASEURI}"
export ECPEERPUBURI="${ECPEERPUBURI}"
export ECPEERPRIURI="${ECPEERPRIURI}"
DBGSCRIPT
gen_unsetvars

title ENDSECTION