From 57896c2a9790a56e8fccc31ad4af9183f8b85070 Mon Sep 17 00:00:00 2001 From: ownClouders Date: Mon, 7 Aug 2023 01:26:12 +0000 Subject: [PATCH] [tx] updated from transifex --- .../service/l10n/locale/tr/LC_MESSAGES/userlog.po | 2 +- .../features/apiAntivirus/antivirus.feature | 2 +- tests/acceptance/run.sh | 14 +++++++------- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/services/userlog/pkg/service/l10n/locale/tr/LC_MESSAGES/userlog.po b/services/userlog/pkg/service/l10n/locale/tr/LC_MESSAGES/userlog.po index 3939b511896..78c52583d5f 100644 --- a/services/userlog/pkg/service/l10n/locale/tr/LC_MESSAGES/userlog.po +++ b/services/userlog/pkg/service/l10n/locale/tr/LC_MESSAGES/userlog.po @@ -11,7 +11,7 @@ msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: EMAIL\n" -"POT-Creation-Date: 2023-07-18 00:54+0000\n" +"POT-Creation-Date: 2023-08-07 01:24+0000\n" "PO-Revision-Date: 2023-03-15 08:28+0000\n" "Last-Translator: Begüm Topyıldız , 2023\n" "Language-Team: Turkish (https://app.transifex.com/owncloud-org/teams/6149/tr/)\n" diff --git a/tests/acceptance/features/apiAntivirus/antivirus.feature b/tests/acceptance/features/apiAntivirus/antivirus.feature index f906d1c06e8..8fb89068bfb 100644 --- a/tests/acceptance/features/apiAntivirus/antivirus.feature +++ b/tests/acceptance/features/apiAntivirus/antivirus.feature @@ -1,4 +1,4 @@ -@api @antivirus @skipOnReva +@antivirus @skipOnReva Feature: antivirus As a system administrator and user I want to protect myself and others from known viruses diff --git a/tests/acceptance/run.sh b/tests/acceptance/run.sh index a896c6f8c86..f065eb1be24 100755 --- a/tests/acceptance/run.sh +++ b/tests/acceptance/run.sh @@ -368,7 +368,7 @@ function run_behat_tests() { # Report them in a dry-run so they can be seen # Big red error output is displayed if there are no matching scenarios - send it to null DRY_RUN_FILE=$(mktemp) - SKIP_TAGS="${TEST_TYPE_TAG}&&@skip" + SKIP_TAGS="@skip" ${BEHAT} --dry-run {$COLORS_OPTION} -c ${BEHAT_YML} -f pretty ${BEHAT_SUITE_OPTION} --tags "${SKIP_TAGS}" ${BEHAT_FEATURE} 1>${DRY_RUN_FILE} 2>/dev/null if grep -q -m 1 'No scenarios' "${DRY_RUN_FILE}" then @@ -477,20 +477,17 @@ else fi fi -TEST_TYPE_TAG="@api" + TEST_TYPE_TEXT="API" # Always have "@api" -if [ -z "${BEHAT_FILTER_TAGS}" ] +if [ ! -z "${BEHAT_FILTER_TAGS}" ] then - BEHAT_FILTER_TAGS="${TEST_TYPE_TAG}" -else # Be nice to the caller # Remove any extra "&&" at the end of their tags list BEHAT_FILTER_TAGS="${BEHAT_FILTER_TAGS%&&}" # Remove any extra "&&" at the beginning of their tags list BEHAT_FILTER_TAGS="${BEHAT_FILTER_TAGS#&&}" - BEHAT_FILTER_TAGS="${BEHAT_FILTER_TAGS}&&${TEST_TYPE_TAG}" fi # EMAIL_HOST defines where the system-under-test can find the email server (inbucket) @@ -517,9 +514,12 @@ fi # If the caller did not mention specific tags, skip the skipped tests by default if [ "${BEHAT_TAGS_OPTION_FOUND}" = false ] then + if [[ -z $BEHAT_FILTER_TAGS ]] + then + BEHAT_FILTER_TAGS="~@skip" # If the caller has already specified specifically to run "@skip" scenarios # then do not append "not @skip" - if [[ ! ${BEHAT_FILTER_TAGS} =~ "&&@skip&&" ]] + elif [[ ! ${BEHAT_FILTER_TAGS} =~ "@skip" ]] then BEHAT_FILTER_TAGS="${BEHAT_FILTER_TAGS}&&~@skip" fi