commit:     f46111eb2e10cfd8317f728e0638b947ac47ab62
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 29 10:03:59 2019 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Sun Dec 29 10:03:59 2019 +0000
URL:        https://gitweb.gentoo.org/proj/portage-utils.git/commit/?id=f46111eb

tests: fix after last commit

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

 q.c                             | 2 +-
 tests/qmanifest/manifest04.good | 2 +-
 tests/qmanifest/manifest05.good | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/q.c b/q.c
index 6d7eced..a6a9a0b 100644
--- a/q.c
+++ b/q.c
@@ -62,7 +62,7 @@ APPLET lookup_applet(const char *applet)
        /* this is possibly an alias like "belongs"
         * NOTE: we continue where the previous loop left, e.g. on the first
         * alias (desc == NULL) */
-       for ( ; applets[i].name != NULL; i++) {
+       for (/*i*/; applets[i].name != NULL; i++) {
                if (strcmp(applets[i].name, applet) == 0) {
                        unsigned int j;
 

diff --git a/tests/qmanifest/manifest04.good b/tests/qmanifest/manifest04.good
index 4831674..613d7a9 100644
--- a/tests/qmanifest/manifest04.good
+++ b/tests/qmanifest/manifest04.good
@@ -1 +1 @@
-manifest: cannot change directory to not_a_tree: No such file or directory
+qmanifest: cannot change directory to not_a_tree: No such file or directory

diff --git a/tests/qmanifest/manifest05.good b/tests/qmanifest/manifest05.good
index 77a54c5..4849a71 100644
--- a/tests/qmanifest/manifest05.good
+++ b/tests/qmanifest/manifest05.good
@@ -1 +1 @@
-manifest: no such overlay: notatree
+qmanifest: no such overlay: notatree

Reply via email to