| ... | ... |
@@ -57,6 +57,7 @@ tests=( $(find_tests ${1:-.*}) )
|
| 57 | 57 |
|
| 58 | 58 |
# test-cmd specific defaults |
| 59 | 59 |
BASETMPDIR=${USE_TEMP:-$(mkdir -p /tmp/openshift-cmd && mktemp -d /tmp/openshift-cmd/XXXX)}
|
| 60 |
+LOG_DIR=${BASETMPDIR}/logs
|
|
| 60 | 61 |
API_HOST=${API_HOST:-127.0.0.1}
|
| 61 | 62 |
export API_PORT=${API_PORT:-28443}
|
| 62 | 63 |
|
| ... | ... |
@@ -67,6 +68,7 @@ setup_env_vars |
| 67 | 67 |
export SUDO='' |
| 68 | 68 |
mkdir -p "${ETCD_DATA_DIR}" "${VOLUME_DIR}" "${FAKE_HOME_DIR}" "${MASTER_CONFIG_DIR}" "${NODE_CONFIG_DIR}" "${LOG_DIR}"
|
| 69 | 69 |
|
| 70 |
+echo "Logging to ${LOG_DIR}..."
|
|
| 70 | 71 |
|
| 71 | 72 |
# Prevent user environment from colliding with the test setup |
| 72 | 73 |
unset KUBECONFIG |