Skip to content

Commit 65a3bf4

Browse files
authored
packaging: Fix fedora downstream tests (#416)
Probably a design flaw upstream, but this should be a quick fix in the meantime teemtee/tmt#2184 --------- Signed-off-by: Cristian Le <[email protected]>
1 parent fd9e6cf commit 65a3bf4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/examples/test.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ source /usr/share/beakerlib/beakerlib.sh || exit 1
66
rlJournalStart
77
rlPhaseStartSetup
88
rlRun "tmp=\$(mktemp -d)" 0 "Create tmp directory"
9-
rlRun "rsync -r $TMT_TREE$TMT_TEST_NAME/ $tmp" 0 "Copy example project"
10-
rlRun "rsync -r $TMT_TREE$TMT_TEST_NAME/../test.py $tmp" 0 "Copy test.py file"
9+
rlRun "rsync -r ${TMT_SOURCE_DIR:-$TMT_TREE}$TMT_TEST_NAME/ $tmp" 0 "Copy example project"
10+
rlRun "rsync -r ${TMT_SOURCE_DIR:-$TMT_TREE}$TMT_TEST_NAME/../test.py $tmp" 0 "Copy test.py file"
1111
rlRun "pushd $tmp"
1212
rlRun "tree" 0 "Show directory tree"
1313
rlRun "set -o pipefail"

0 commit comments

Comments
 (0)