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/qmanifest/
Date: Sun, 29 Dec 2019 10:04:20
Message-Id: 1577613839.f46111eb2e10cfd8317f728e0638b947ac47ab62.grobian@gentoo
1 commit: f46111eb2e10cfd8317f728e0638b947ac47ab62
2 Author: Fabian Groffen <grobian <AT> gentoo <DOT> org>
3 AuthorDate: Sun Dec 29 10:03:59 2019 +0000
4 Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org>
5 CommitDate: Sun Dec 29 10:03:59 2019 +0000
6 URL: https://gitweb.gentoo.org/proj/portage-utils.git/commit/?id=f46111eb
7
8 tests: fix after last commit
9
10 Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>
11
12 q.c | 2 +-
13 tests/qmanifest/manifest04.good | 2 +-
14 tests/qmanifest/manifest05.good | 2 +-
15 3 files changed, 3 insertions(+), 3 deletions(-)
16
17 diff --git a/q.c b/q.c
18 index 6d7eced..a6a9a0b 100644
19 --- a/q.c
20 +++ b/q.c
21 @@ -62,7 +62,7 @@ APPLET lookup_applet(const char *applet)
22 /* this is possibly an alias like "belongs"
23 * NOTE: we continue where the previous loop left, e.g. on the first
24 * alias (desc == NULL) */
25 - for ( ; applets[i].name != NULL; i++) {
26 + for (/*i*/; applets[i].name != NULL; i++) {
27 if (strcmp(applets[i].name, applet) == 0) {
28 unsigned int j;
29
30
31 diff --git a/tests/qmanifest/manifest04.good b/tests/qmanifest/manifest04.good
32 index 4831674..613d7a9 100644
33 --- a/tests/qmanifest/manifest04.good
34 +++ b/tests/qmanifest/manifest04.good
35 @@ -1 +1 @@
36 -manifest: cannot change directory to not_a_tree: No such file or directory
37 +qmanifest: cannot change directory to not_a_tree: No such file or directory
38
39 diff --git a/tests/qmanifest/manifest05.good b/tests/qmanifest/manifest05.good
40 index 77a54c5..4849a71 100644
41 --- a/tests/qmanifest/manifest05.good
42 +++ b/tests/qmanifest/manifest05.good
43 @@ -1 +1 @@
44 -manifest: no such overlay: notatree
45 +qmanifest: no such overlay: notatree