Gentoo Archives: gentoo-commits

From: Fabian Groffen <grobian@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/portage-utils:master commit in: tests/qdepends/
Date: Mon, 08 Apr 2019 09:50:21
Message-Id: 1554715843.5a792fca6a20b83adaa1cfa6994bd019509c5a56.grobian@gentoo
1 commit: 5a792fca6a20b83adaa1cfa6994bd019509c5a56
2 Author: Fabian Groffen <grobian <AT> gentoo <DOT> org>
3 AuthorDate: Mon Apr 8 09:27:11 2019 +0000
4 Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org>
5 CommitDate: Mon Apr 8 09:30:43 2019 +0000
6 URL: https://gitweb.gentoo.org/proj/portage-utils.git/commit/?id=5a792fca
7
8 travis: generate debug messages to perhaps get a glimpse of the problem
9
10 Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>
11
12 tests/qdepends/dotest | 5 ++++-
13 1 file changed, 4 insertions(+), 1 deletion(-)
14
15 diff --git a/tests/qdepends/dotest b/tests/qdepends/dotest
16 index 6378fc7..fb1c694 100755
17 --- a/tests/qdepends/dotest
18 +++ b/tests/qdepends/dotest
19 @@ -24,11 +24,14 @@ test() {
20 # qdepends output is based on a hash, which may differ based on
21 # endiannes, so sort the output so we get a deterministic set
22 while IFS= read -r line ; do
23 + echo "I read: ${line} with ${SHELL}/${BASH}"
24 case "${line}" in
25 - *:*)
26 + *":"*)
27 + echo "I found a :"
28 # dinosaur style for Travis' /bin/bash (or /bin/sh?)
29 pkg="$(echo "${line}" | cut -d':' -f1)"
30 line="$(echo "${line}" | cut -d':' -f2-)"
31 + echo "I think pkg=${pkg}, line=${line}"
32 env LC_ALL=C \
33 echo "${pkg}: $(echo "${line}" | xargs -n1 | sort | xargs)"
34 ;;