r1428 - in zope.testing/trunk/debian (changelog tests/all)
Brian Sutherland
jinty-guest at alioth.debian.org
Wed Jun 3 14:22:26 UTC 2009
Date: Wednesday, June 3, 2009 @ 14:22:26
Author: jinty-guest
Revision: 1428
Fix test script again: one of the subtleties of grep is that it's exit
status is 1 if no match is found.
Modified:
zope.testing/trunk/debian/changelog
zope.testing/trunk/debian/tests/all
Modified: zope.testing/trunk/debian/changelog
===================================================================
--- zope.testing/trunk/debian/changelog 2009-06-03 14:19:55 UTC (rev 1427)
+++ zope.testing/trunk/debian/changelog 2009-06-03 14:22:26 UTC (rev 1428)
@@ -1,3 +1,10 @@
+zope.testing (3.7.4-3) unstable; urgency=low
+
+ * Fix test script again: one of the subtleties of grep is that it's exit
+ status is 1 if no match is found.
+
+ -- Brian Sutherland <brian at vanguardistas.net> Wed, 03 Jun 2009 06:42:40 +0200
+
zope.testing (3.7.4-2) unstable; urgency=low
* Ignore spurious and not so spurious messages printed in stderr of
Modified: zope.testing/trunk/debian/tests/all
===================================================================
--- zope.testing/trunk/debian/tests/all 2009-06-03 14:19:55 UTC (rev 1427)
+++ zope.testing/trunk/debian/tests/all 2009-06-03 14:22:26 UTC (rev 1428)
@@ -26,7 +26,8 @@
stderr=$(mktemp)
python${version} ${TMPFILE} 2>${stderr}
# ignoring 'Not printing coverage data for' - spurious failure on python2.4
- cat ${stderr} | grep -v 'Not printing coverage data for' | grep -v 'A message on stderr. Please ignore (expected in test output).' >&2
+ # last "cat" in pipe below because grep exits with nonzero exit status if no match.
+ cat ${stderr} | grep -v 'Not printing coverage data for' | grep -v 'A message on stderr. Please ignore (expected in test output).' | cat >&2
rm ${stderr}
done
More information about the pkg-zope-commits
mailing list