Stefano Rivera wrote:
> ======================================================================
> FAIL: test_sanitize_remove_src_javascript
> (genshi.filters.tests.html.HTMLSanitizerTestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/«PKGBUILDDIR»/genshi/filters/tests/html.py", line 442, in
> test_sanitize_remove_src_javascript
> '<IMG SRC=`javascript:alert("RSnake says, \'foo\'")`>')
> AssertionError: ParseError not raised
>
> ----------------------------------------------------------------------
> Ran 828 tests in 1.198s
>
> FAILED (failures=1)
>
> Yet, the build continues...
FWIW, to make the build fail (which it should) apply this patch
(thanks to POX):
--- a/debian/rules
+++ b/debian/rules
@@ -16,7 +16,7 @@ DEB_PYTHON_SETUP_CMD += --with-speedups
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
binary-install/python-genshi::
- for py in $(shell pyversions -vr); do \
+ set -e; for py in $(shell pyversions -vr); do \
PYTHONPATH=$(cdbs_python_destdir)/usr/lib/python$$py/site-packages \
python$$py setup.py test; \
done;
signature.asc
Description: Digital signature

