public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-projects commit in portage-utils/tests/qlist: dotest
@ 2011-03-01  5:15 Mike Frysinger (vapier)
  0 siblings, 0 replies; 4+ messages in thread
From: Mike Frysinger (vapier) @ 2011-03-01  5:15 UTC (permalink / raw
  To: gentoo-commits

vapier      11/03/01 05:15:25

  Modified:             dotest
  Log:
  fix up tests to work with cvs

Revision  Changes    Path
1.2                  portage-utils/tests/qlist/dotest

file : http://sources.gentoo.org/viewvc.cgi/gentoo-projects/portage-utils/tests/qlist/dotest?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-projects/portage-utils/tests/qlist/dotest?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-projects/portage-utils/tests/qlist/dotest?r1=1.1&r2=1.2

Index: dotest
===================================================================
RCS file: /var/cvsroot/gentoo-projects/portage-utils/tests/qlist/dotest,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- dotest	1 Mar 2011 05:10:33 -0000	1.1
+++ dotest	1 Mar 2011 05:15:25 -0000	1.2
@@ -12,7 +12,7 @@
 cd tmp
 
 # simple install check
-qlist -IC > list
+qlist -IC | grep -v CVS > list
 diff -u list ../list01.good
 
 # simple files list






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

* [gentoo-commits] gentoo-projects commit in portage-utils/tests/qlist: dotest
@ 2011-12-22 19:30 Mike Frysinger (vapier)
  0 siblings, 0 replies; 4+ messages in thread
From: Mike Frysinger (vapier) @ 2011-12-22 19:30 UTC (permalink / raw
  To: gentoo-commits

vapier      11/12/22 19:30:47

  Modified:             dotest
  Log:
  redo test output to get info on a per-test basis

Revision  Changes    Path
1.5                  portage-utils/tests/qlist/dotest

file : http://sources.gentoo.org/viewvc.cgi/gentoo-projects/portage-utils/tests/qlist/dotest?rev=1.5&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-projects/portage-utils/tests/qlist/dotest?rev=1.5&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-projects/portage-utils/tests/qlist/dotest?r1=1.4&r2=1.5

Index: dotest
===================================================================
RCS file: /var/cvsroot/gentoo-projects/portage-utils/tests/qlist/dotest,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- dotest	20 Dec 2011 22:50:10 -0000	1.4
+++ dotest	22 Dec 2011 19:30:47 -0000	1.5
@@ -9,34 +9,34 @@
 
 mktmpdir
 
+test() {
+	local num=$1; shift
+	eval "$@" > list
+	diff -u list ${as}/list${num}.good
+	tend $? "$*"
+}
+
 # simple install check
-qlist -IC | grep -v CVS > list
-diff -u list ${as}/list01.good
+test 01 "qlist -IC | grep -v CVS"
 
 # simple files list
-qlist -C cpio > list
-diff -u list ${as}/list02.good
+test 02 "qlist -C cpio"
 
 # symlink verbose list
-qlist -C mtools -e -v > list
-diff -u list ${as}/list03.good
+test 03 "qlist -C mtools -e -v"
 
 # dir test
-qlist -C mtools -d > list
-diff -u list ${as}/list04.good
+test 04 "qlist -C mtools -d"
 
 # obj test
-qlist -C mtools -o > list
-diff -u list ${as}/list05.good
+test 05 "qlist -C mtools -o"
 
 # sym test
-qlist -C mtools -s > list
-diff -u list ${as}/list06.good
+test 06 "qlist -C mtools -s"
 
 # SLOT test
-qlist -ICSL | grep -v CVS > list
-diff -u list ${as}/list07.good
+test 07 "qlist -ICSL | grep -v CVS"
 
 cleantmpdir
 
-pass
+end






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

* [gentoo-commits] gentoo-projects commit in portage-utils/tests/qlist: dotest
@ 2012-10-28  5:03 Mike Frysinger (vapier)
  0 siblings, 0 replies; 4+ messages in thread
From: Mike Frysinger (vapier) @ 2012-10-28  5:03 UTC (permalink / raw
  To: gentoo-commits

vapier      12/10/28 05:03:41

  Modified:             dotest
  Log:
  drop the -L option to qlist and just always use the standard : for SLOT output

Revision  Changes    Path
1.7                  portage-utils/tests/qlist/dotest

file : http://sources.gentoo.org/viewvc.cgi/gentoo-projects/portage-utils/tests/qlist/dotest?rev=1.7&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-projects/portage-utils/tests/qlist/dotest?rev=1.7&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-projects/portage-utils/tests/qlist/dotest?r1=1.6&r2=1.7

Index: dotest
===================================================================
RCS file: /var/cvsroot/gentoo-projects/portage-utils/tests/qlist/dotest,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- dotest	13 Aug 2012 22:21:36 -0000	1.6
+++ dotest	28 Oct 2012 05:03:41 -0000	1.7
@@ -35,7 +35,7 @@
 test 06 "qlist -C --showdebug mtools -s"
 
 # SLOT test
-test 07 "qlist -ICSL | grep -v CVS"
+test 07 "qlist -ICS | grep -v CVS"
 
 # showdebug test #1
 test 08 "qlist -C cpio"





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

* [gentoo-commits] gentoo-projects commit in portage-utils/tests/qlist: dotest
@ 2013-04-29  5:10 Mike Frysinger (vapier)
  0 siblings, 0 replies; 4+ messages in thread
From: Mike Frysinger (vapier) @ 2013-04-29  5:10 UTC (permalink / raw
  To: gentoo-commits

vapier      13/04/29 05:10:35

  Modified:             dotest
  Log:
  qlist: initial support for prefix/suffix operators #369225 by Christian Ruppert

Revision  Changes    Path
1.8                  portage-utils/tests/qlist/dotest

file : http://sources.gentoo.org/viewvc.cgi/gentoo-projects/portage-utils/tests/qlist/dotest?rev=1.8&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-projects/portage-utils/tests/qlist/dotest?rev=1.8&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-projects/portage-utils/tests/qlist/dotest?r1=1.7&r2=1.8

Index: dotest
===================================================================
RCS file: /var/cvsroot/gentoo-projects/portage-utils/tests/qlist/dotest,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- dotest	28 Oct 2012 05:03:41 -0000	1.7
+++ dotest	29 Apr 2013 05:10:35 -0000	1.8
@@ -43,6 +43,9 @@
 # dir test
 test 09 "qlist -C mtools -d"
 
+# ver test
+test 10 "qlist -Iv =mtools-4*"
+
 cleantmpdir
 
 end





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

end of thread, other threads:[~2013-04-29  5:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-01  5:15 [gentoo-commits] gentoo-projects commit in portage-utils/tests/qlist: dotest Mike Frysinger (vapier)
  -- strict thread matches above, loose matches on Subject: below --
2011-12-22 19:30 Mike Frysinger (vapier)
2012-10-28  5:03 Mike Frysinger (vapier)
2013-04-29  5:10 Mike Frysinger (vapier)

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