commit:     5a792fca6a20b83adaa1cfa6994bd019509c5a56
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Mon Apr  8 09:27:11 2019 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Mon Apr  8 09:30:43 2019 +0000
URL:        https://gitweb.gentoo.org/proj/portage-utils.git/commit/?id=5a792fca

travis: generate debug messages to perhaps get a glimpse of the problem

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

 tests/qdepends/dotest | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/tests/qdepends/dotest b/tests/qdepends/dotest
index 6378fc7..fb1c694 100755
--- a/tests/qdepends/dotest
+++ b/tests/qdepends/dotest
@@ -24,11 +24,14 @@ test() {
        # qdepends output is based on a hash, which may differ based on
        # endiannes, so sort the output so we get a deterministic set
        while IFS= read -r line ; do
+               echo "I read: ${line} with ${SHELL}/${BASH}"
                case "${line}" in
-               *:*)
+               *":"*)
+                       echo "I found a :"
                        # dinosaur style for Travis' /bin/bash (or /bin/sh?)
                        pkg="$(echo "${line}" | cut -d':' -f1)"
                        line="$(echo "${line}" | cut -d':' -f2-)"
+                       echo "I think pkg=${pkg}, line=${line}"
                        env LC_ALL=C \
                                echo "${pkg}: $(echo "${line}" | xargs -n1 | 
sort | xargs)"
                        ;;

Reply via email to