Skip to content

Commit

Permalink
Fix test_case name (#25)
Browse files Browse the repository at this point in the history
See here: https://github.com/sclorg/httpd-container/blob/master/.github/workflows/openshift-tests.yml#L32
Its better openshift-pytest then test-openshift-pytest

Signed-off-by: Petr "Stone" Hracek <[email protected]>
  • Loading branch information
phracek authored Jun 11, 2024
1 parent 1d829d0 commit 5cca0d4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions export_variables.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ private_ranch="rhel7 rhel8 rhel9 rhel9-unsubscribed"
all_os="$public_ranch $private_ranch"

os_test="$1" # options: centos7, c8s, c9s, fedora, rhel7, rhel8, rhel9, rhel9-unsubscribed
test_case="$2" # options: container, openshift-4, pytest
test_case="$2" # options: container, openshift-4, openshift-pytest
user_context="$3" # User can specify its own user-defined context, like 'Testing Farm - pytest - RHEL8'
if [ -z "$os_test" ] || ! echo "$all_os" | grep -q "$os_test" ; then
echo "::error::os_test '$os_test' is not valid"
Expand All @@ -26,7 +26,7 @@ case "$test_case" in
tmt_plan_suffix="-openshift-4"
test_name="test-openshift-4"
;;
"test-openshift-pytest")
"openshift-pytest")
context_suffix="PyTest - OpenShift 4"
tmt_plan_suffix="-pytest"
test_name="test-openshift-pytest"
Expand Down

0 comments on commit 5cca0d4

Please sign in to comment.