Commit 6c95f1f4 authored by Ondřej Surý's avatar Ondřej Surý

Merge branch 'test-script-keep-workdir' into 'master'

Add KEEP_WORKDIR=yes option and don't delete WORKDIR if set from cmdline

See merge request !144
parents ccbdd6a8 cbcb7b7d
......@@ -21,4 +21,6 @@ echo "dig +dnssec +multi +time=60 +retry=1 -p ${PORT} @::1"
LD_LIBRARY_PATH=${WORKDIR}/lib ${WORKDIR}/sbin/kresd -a${PORT} -a ::1#${PORT} -v -k ${ROOT_KEY:-/usr/share/dns/root.key} ${WORKDIR}/run/kresd
rm -r ${WORKDIR}
if [ "${WORKDIR}" != "${2}" -a "${KEEP_WORKDIR}" != "yes" ]; then
rm -r ${WORKDIR}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment