From: Vratko Polak Date: Mon, 17 Jan 2022 17:09:16 +0000 (+0100) Subject: fix(perpatch): Correct the autogen archive name X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=commitdiff_plain;h=refs%2Fchanges%2F26%2F34926%2F3 fix(perpatch): Correct the autogen archive name Change-Id: I82bc5cd69de82a2d6b6689cf3380f667ea905886 Signed-off-by: Vratko Polak --- diff --git a/resources/libraries/bash/function/per_patch.sh b/resources/libraries/bash/function/per_patch.sh index d48295d06e..3ded218e89 100644 --- a/resources/libraries/bash/function/per_patch.sh +++ b/resources/libraries/bash/function/per_patch.sh @@ -1,5 +1,5 @@ -# Copyright (c) 2021 Cisco and/or its affiliates. -# Copyright (c) 2021 PANTHEON.tech s.r.o. +# Copyright (c) 2022 Cisco and/or its affiliates. +# Copyright (c) 2022 PANTHEON.tech s.r.o. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: @@ -38,7 +38,7 @@ function archive_test_results () { TARGET="$(readlink -f "$1")" mkdir -p "${TARGET}" || die "Directory creation failed." file_list=("output.xml" "log.html" "report.html") - file_list+=("tests" "tests_output_raw.tar.gz") + file_list+=("tests" "generated_output_raw.tar.gz") for filename in "${file_list[@]}"; do mv "${ARCHIVE_DIR}/${filename}" "${TARGET}/${filename}" || { die "Attempt to move '${filename}' failed."