public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/portage-utils:master commit in: tests/qlist/
@ 2019-04-13  6:26 Fabian Groffen
  0 siblings, 0 replies; 3+ messages in thread
From: Fabian Groffen @ 2019-04-13  6:26 UTC (permalink / raw
  To: gentoo-commits

commit:     030db6ff6e1d53b9a3b2a9447943aacfcaa5a4cb
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 13 06:26:25 2019 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Sat Apr 13 06:26:25 2019 +0000
URL:        https://gitweb.gentoo.org/proj/portage-utils.git/commit/?id=030db6ff

tests: approve changed qlist output

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

 tests/qlist/list03.good | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/qlist/list03.good b/tests/qlist/list03.good
index 28fa101..ede9f31 100644
--- a/tests/qlist/list03.good
+++ b/tests/qlist/list03.good
@@ -1,3 +1,4 @@
+sys-fs/mtools-4.0.13 CONTENTS:
 /usr/bin/minfo -> mtools
 /usr/bin/mpartition -> mtools
 /usr/bin/mrd -> mtools


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] proj/portage-utils:master commit in: tests/qlist/
@ 2019-11-17 15:12 Fabian Groffen
  0 siblings, 0 replies; 3+ messages in thread
From: Fabian Groffen @ 2019-11-17 15:12 UTC (permalink / raw
  To: gentoo-commits

commit:     1f03317929c7ee02eea0c3fdb3975b3323408200
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 17 12:45:47 2019 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Sun Nov 17 12:45:47 2019 +0000
URL:        https://gitweb.gentoo.org/proj/portage-utils.git/commit/?id=1f033179

tests: improve qlist error output

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

 tests/qlist/dotest | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/tests/qlist/dotest b/tests/qlist/dotest
index 2ba7033..0bb031b 100755
--- a/tests/qlist/dotest
+++ b/tests/qlist/dotest
@@ -13,8 +13,8 @@ test() {
 	local num=$1 exp=$2 ret=0
 	shift 2
 	eval "$@" > list || ret=$?
-	if ! diff -u list ${as}/list${num}.good ; then
-		tfail "output does not match"
+	if ! diff -u ${as}/list${num}.good list ; then
+		tfail "output does not match for: $*"
 	fi
 	if [[ ${exp} -ne ${ret} ]] ; then
 		tfail "exit code (${ret}) does not match expected (${exp})"
@@ -50,7 +50,7 @@ test 08 0 "qlist -C cpio"
 test 09 0 "qlist -C mtools -d"
 
 # ver test
-test 10 0 "qlist -Iv =mtools-4*"
+test 10 0 "qlist -ICv =mtools-4*"
 
 # repo test
 test 11 0 "qlist -ICR"
@@ -65,7 +65,7 @@ test 13 0 "qlist -Ce --showdebug app-arch/cpio:0::gentoo"
 test 14 0 "qlist -ICSS"
 
 # no matches
-test 15 1 "qlist -Iv lajsdflkjasdflkjasdfljasdf"
+test 15 1 "qlist -ICv lajsdflkjasdflkjasdfljasdf"
 
 # match test w/out sub-SLOT
 test 16 0 "qlist -ICSS virtual/sub-2:1"


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] proj/portage-utils:master commit in: tests/qlist/
@ 2021-12-21 11:30 Fabian Groffen
  0 siblings, 0 replies; 3+ messages in thread
From: Fabian Groffen @ 2021-12-21 11:30 UTC (permalink / raw
  To: gentoo-commits

commit:     f730546c72921b2b665557e55a218127316d8930
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 21 10:08:36 2021 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Tue Dec 21 10:08:36 2021 +0000
URL:        https://gitweb.gentoo.org/proj/portage-utils.git/commit/?id=f730546c

tests/qlist: add missing file

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

 tests/qlist/list17.good | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/qlist/list17.good b/tests/qlist/list17.good
new file mode 100644
index 0000000..bb1c9ab
--- /dev/null
+++ b/tests/qlist/list17.good
@@ -0,0 +1 @@
+sys-fs/mtools-4.0.13 X -abi_x86_32 abi_x86_64 -static-libs


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-12-21 11:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-04-13  6:26 [gentoo-commits] proj/portage-utils:master commit in: tests/qlist/ Fabian Groffen
  -- strict thread matches above, loose matches on Subject: below --
2019-11-17 15:12 Fabian Groffen
2021-12-21 11:30 Fabian Groffen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox