Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

t/opt-00.t fails on debian/buster #11

Open
eserte opened this issue Dec 23, 2018 · 4 comments
Labels

Comments

@eserte
Copy link

@eserte eserte commented Dec 23, 2018

On debian/buster (= current testing) the test suite fails:

# Testing HTML::Tidy5 1.04, tidy 5.6.0, Perl 5.028001, /usr/bin/perl
...
#   Failed test 'Cleaned stuff looks like what we expected'
#   at t/opt-00.t line 68.
#     Structures begin differing at:
#          $got->[9] = ' span.myprefix1 {color: blue}'
#     $expected->[9] = ' span.myprefix-1 {color: blue}'
# Looks like you failed 1 test of 1.
t/opt-00.t .................
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/1 subtests
@eserte eserte changed the title t/opt-00.t failson debian/buster t/opt-00.t fails on debian/buster Dec 23, 2018
@petdance

This comment has been minimized.

Copy link
Owner

@petdance petdance commented Dec 23, 2018

Thanks for the report. I'm pretty sure this has been fixed but not yet released. If you have a minute, would you be able to test this on the dev branch?

@eserte

This comment has been minimized.

Copy link
Author

@eserte eserte commented Dec 24, 2018

I tried 432f068, but still the same failure.

@eserte

This comment has been minimized.

Copy link
Author

@eserte eserte commented Dec 24, 2018

Here a Dockerfile to reproduce in a clean setup:

# maybe: docker pull debian:buster
# docker build -t perl-test . && docker run perl-test
FROM debian:buster
RUN apt-get -y update
RUN apt-get -y install perl-modules
RUN apt-get -y install make gcc
RUN apt-get -y install libtidy-dev git
WORKDIR /tmp
RUN git clone --depth=1 https://github.com/petdance/html-tidy5.git -b dev
WORKDIR /tmp/html-tidy5 
CMD cpan -t .
@shlomif

This comment has been minimized.

Copy link

@shlomif shlomif commented Aug 30, 2019

@eserte @petdance : I wrote a fix for a similar failure for HTML-T5 on mageia v8 - shlomif@8a38982 - feel free to borrow it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.