diff options
| author | Julian Andres Klode <jak@debian.org> | 2025-02-12 15:02:01 +0000 |
|---|---|---|
| committer | Julian Andres Klode <jak@debian.org> | 2025-02-12 15:02:01 +0000 |
| commit | cdd9593593337714789a3d115b17e4b4f882f0dd (patch) | |
| tree | 22417cbdc0eb62161e68da76fbd8f9eff494b607 | |
| parent | 1db3aba864a56430a268686b17f40a14306e9d34 (diff) | |
| parent | f67e9858fd0f12c2b8aa6ca9450cde427513d883 (diff) | |
Merge branch 'run-tests-fix-skip' into 'main'
test: Fix skipping test cases
See merge request apt-team/apt!450
| -rwxr-xr-x | test/integration/run-tests | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/integration/run-tests b/test/integration/run-tests index 24d0cc00f..e52214e0a 100755 --- a/test/integration/run-tests +++ b/test/integration/run-tests @@ -161,8 +161,8 @@ if [ "$MSGLEVEL" -le 1 ]; then printf "${CTEST}Running testcases${CRESET}: " fi for testcase in $TESTLIST; do - if [ "$APT_SKIP_TEST_FILE" ] && grep -qFx "${TESTTORUN##*/}" "$APT_SKIP_TEST_FILE"; then - printf "${CTEST}Skipping Testcase ${CHIGH}${TESTTORUN##*/}${CRESET}\n" + if [ "$APT_SKIP_TEST_FILE" ] && grep -qFx "${testcase##*/}" "$APT_SKIP_TEST_FILE"; then + printf "${CTEST}Skipping Testcase ${CHIGH}${testcase##*/}${CRESET}\n" continue fi if [ "$MSGLEVEL" -le 1 ]; then |
