+ ORIG_LTTNG_TEST_LOG_DIR="${LTTNG_TEST_LOG_DIR:-}"
+ LTTNG_TEST_LOG_DIR=""
+ if test "${log_file_d}" = yes && [ ! -e "${log_file}.d" ]; then
+ mkdir -p "${log_file}.d"
+ LTTNG_TEST_LOG_DIR="$(realpath "${log_file}.d")"
+ export LTTNG_TEST_LOG_DIR
+ fi
+ if [ "${LTTNG_TESTS_TAP_AUTOTIME:-}" != 0 ]; then