commit:     68712a990b7ec0111d0f82019aed36c3ba5c11c2
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Thu Jan  2 21:25:09 2020 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Thu Jan  2 21:25:09 2020 +0000
URL:        https://gitweb.gentoo.org/proj/portage-utils.git/commit/?id=68712a99

tests: fix retrieving test name

Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>

 tests/init.sh.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/init.sh.in b/tests/init.sh.in
index c5cd8f3..7f5db06 100644
--- a/tests/init.sh.in
+++ b/tests/init.sh.in
@@ -35,7 +35,7 @@ q -i -q
 # used by Travis segfaults on qmanifest, so disable there to be able to
 # run the rest regularly
 dovalgrind=${Q_RUN_WITH_VALGRIND}
-[[ ${TRAVIS_OS_NAME}:${a} == linux:qmanifest ]] && dovalgrind=
+[[ ${TRAVIS_OS_NAME}:${as##*/} == linux:qmanifest ]] && dovalgrind=
 if [[ -n ${dovalgrind} ]] ; then
        chmod 755 "@abs_top_srcdir@/tests/valgrind-wrapper/qvalgrind"
        for f in @abs_top_builddir@/q?* ; do

Reply via email to