From d1322c962e6bc906871820499dff73da095dfd17 Mon Sep 17 00:00:00 2001 From: Justin Stephenson Date: Tue, 7 Jun 2022 15:46:25 -0400 Subject: [PATCH] Workaround bug in TMT LOGS For full context check history of upstream cockpit-podman test/browser/browser.sh Resolves: rhbz#2088460 --- cockpit-session-recording.spec | 2 +- tests/browser.sh | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/cockpit-session-recording.spec b/cockpit-session-recording.spec index 6908e4c..366225d 100644 --- a/cockpit-session-recording.spec +++ b/cockpit-session-recording.spec @@ -1,6 +1,6 @@ Name: cockpit-session-recording Version: 12 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Cockpit Session Recording License: LGPLv2+ URL: https://github.com/Scribery/%{name} diff --git a/tests/browser.sh b/tests/browser.sh index 6acb9ee..acd9e06 100644 --- a/tests/browser.sh +++ b/tests/browser.sh @@ -3,7 +3,8 @@ set -eux # from standard-test-source SOURCE="$(pwd)/source" -LOGS="$(pwd)/logs" +# https://tmt.readthedocs.io/en/stable/overview.html#variables +LOGS="${TMT_TEST_DATA:-$(pwd)/logs}" TESTS="$(pwd)/tests" mkdir -p "$LOGS" chmod a+w "$LOGS"