#!/bin/ksh
#ENV export ENV="$SHELLSPEC_ENV_FILE"
#ENV SHELLSPEC_COVERAGE_SHELL_OPTIONS="-E"

if [ "$SHELLSPEC_COVERAGE_KSH_WORKAROUND" ]; then
  trap '(ulimit -t unlimited; echo "kcov@${.sh.file}@${LINENO}@" >/dev/fd/$KCOV_BASH_XTRACEFD)' DEBUG
else
  trap '(echo "kcov@${.sh.file}@${LINENO}@" >/dev/fd/$KCOV_BASH_XTRACEFD); IFS=$IFS' DEBUG
fi
