From: Peter Mikus Date: Wed, 12 Jan 2022 09:12:49 +0000 (+0100) Subject: fix(uti): Fixing broken code part IV X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=commitdiff_plain;h=5cae594d55623cd357d02592546da00c82089f72 fix(uti): Fixing broken code part IV Part of fixing chain Signed-off-by: Peter Mikus Change-Id: Ie423ccf5a51751e605d906dd1214f5174bb364ac --- diff --git a/resources/libraries/bash/function/common.sh b/resources/libraries/bash/function/common.sh index ada2c228e6..8e8a663679 100644 --- a/resources/libraries/bash/function/common.sh +++ b/resources/libraries/bash/function/common.sh @@ -148,7 +148,7 @@ function archive_tests () { set -exuo pipefail pushd "${ARCHIVE_DIR}" || die - tar czvf "generated_tests.tar.gz" "${GENERATED_DIR}/tests" || true + tar czf "generated_tests.tar.gz" "${GENERATED_DIR}/tests" || true popd || die } @@ -619,7 +619,7 @@ function post_process_robot_outputs () { # We are keeping info outputs where they are. # Assuming we want to move anything but info files (and dirs). options+=("--exclude=*.info.json") - tar czvf "tests_output_raw.tar.gz" "${options[@]}" "tests" || true + tar czf "generated_output_raw.tar.gz" "${options[@]}" "tests" || true # Tar can remove when archiving, but chokes (not deterministically) # on attempting to remove dirs (not empty as info files are there). # So we need to delete the raw files manually.