aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2020-01-02 22:25:09 +0100
committerFabian Groffen <grobian@gentoo.org>2020-01-02 22:25:09 +0100
commit68712a990b7ec0111d0f82019aed36c3ba5c11c2 (patch)
treef3e9224a59915532d6c24946a7051e8c86fc3c8d
parenttests: workound env issue on Travis (diff)
downloadportage-utils-68712a99.tar.gz
portage-utils-68712a99.tar.bz2
portage-utils-68712a99.zip
tests: fix retrieving test name
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
-rw-r--r--tests/init.sh.in2
1 files changed, 1 insertions, 1 deletions
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