From a7613e80f20ff3cef7af347cbed127ad0bb3f86d Mon Sep 17 00:00:00 2001 From: Klaus Aehlig Date: Fri, 28 Feb 2025 13:00:24 +0100 Subject: Add basic test for profiling information --- test/end-to-end/just-mr/invocation-log.sh | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'test/end-to-end/just-mr') diff --git a/test/end-to-end/just-mr/invocation-log.sh b/test/end-to-end/just-mr/invocation-log.sh index 1b4aea08..1e096f17 100644 --- a/test/end-to-end/just-mr/invocation-log.sh +++ b/test/end-to-end/just-mr/invocation-log.sh @@ -31,7 +31,7 @@ readonly RC="${ETC_DIR}/rc.json" cat > "${RC}" < data.txt # As this is the first invocation, we can find the invocation-log dir by a glob INVOCATION_DIR="$(ls -d "${LOG_DIR}"/invocation-log-test/*)" -# ... this should create a meta-data file. -META_DATA_FILE="${INVOCATION_DIR}/meta.json" -echo "Meta data file ${META_DATA_FILE}" -cat "${META_DATA_FILE}" +# ... this should create a metadata file. +METADATA_FILE="${INVOCATION_DIR}/meta.json" +echo "Meta data file ${METADATA_FILE}" +cat "${METADATA_FILE}" echo # Sanity check: the local build root must occur in the command line as # it was specified in the rc file. -[ $(jq '.cmdline | contains(["'"${LBR}"'"])' "${META_DATA_FILE}") = true ] +[ $(jq '.cmdline | contains(["'"${LBR}"'"])' "${METADATA_FILE}") = true ] # Install the referenced configuration "${JUST_MR}" --rc "${RC}" install-cas -o "${REPORTED_CONFIG}" \ - $(jq -r '.configuration' "${META_DATA_FILE}") 2>&1 + $(jq -r '.configuration' "${METADATA_FILE}") 2>&1 echo cat "${REPORTED_CONFIG}" -- cgit v1.2.3