aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2019-12-29 11:03:59 +0100
committerFabian Groffen <grobian@gentoo.org>2019-12-29 11:03:59 +0100
commitf46111eb2e10cfd8317f728e0638b947ac47ab62 (patch)
treea2fd78558925e32a2e522712ebeebb723684ed28
parentq: improve applet searching somewhat, change warn app name (diff)
downloadportage-utils-f46111eb.tar.gz
portage-utils-f46111eb.tar.bz2
portage-utils-f46111eb.zip
tests: fix after last commit
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
-rw-r--r--q.c2
-rw-r--r--tests/qmanifest/manifest04.good2
-rw-r--r--tests/qmanifest/manifest05.good2
3 files changed, 3 insertions, 3 deletions
diff --git a/q.c b/q.c
index 6d7eced5..a6a9a0b6 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 48316748..613d7a96 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 77a54c52..4849a719 100644
--- a/tests/qmanifest/manifest05.good
+++ b/tests/qmanifest/manifest05.good
@@ -1 +1 @@
-manifest: no such overlay: notatree
+qmanifest: no such overlay: notatree