From: "Mike Frysinger (vapier)" <vapier@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] gentoo-projects commit in portage-utils/tests/qlist: dotest
Date: Thu, 22 Dec 2011 19:30:47 +0000 (UTC) [thread overview]
Message-ID: <20111222193047.2D5C320054@flycatcher.gentoo.org> (raw)
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
next reply other threads:[~2011-12-22 19:31 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-22 19:30 Mike Frysinger (vapier) [this message]
-- strict thread matches above, loose matches on Subject: below --
2013-04-29 5:10 [gentoo-commits] gentoo-projects commit in portage-utils/tests/qlist: dotest Mike Frysinger (vapier)
2012-10-28 5:03 Mike Frysinger (vapier)
2011-03-01 5:15 Mike Frysinger (vapier)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20111222193047.2D5C320054@flycatcher.gentoo.org \
--to=vapier@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox