After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 760921 - REGRESSION (8eb55d78): doc/examples/io1 test fails after fix for "xmlSaveUri() incorrectly recomposes URIs with rootless paths"
REGRESSION (8eb55d78): doc/examples/io1 test fails after fix for "xmlSaveUri(...
Status: RESOLVED FIXED
Product: libxml2
Classification: Platform
Component: general
git master
Other All
: Normal normal
: ---
Assigned To: Daniel Veillard
libxml QA maintainers
Depends on: 731063
Blocks:
 
 
Reported: 2016-01-21 04:27 UTC by David Kilzer
Modified: 2016-04-29 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
test.sh (git-bisect-run script) (177 bytes, text/plain)
2016-01-21 04:35 UTC, David Kilzer
  Details
Patch v1 (937 bytes, patch)
2016-01-21 04:44 UTC, David Kilzer
none Details | Review

Description David Kilzer 2016-01-21 04:27:54 UTC
When running "make tests", the doc/examples/io1 test fails after this fix:

Bug 731063: xmlSaveUri() incorrectly recomposes URIs with rootless paths
<https://bugzilla.gnome.org/show_bug.cgi?id=731063>

To reproduce, build libxml2 then run "(cd doc/examples; make tests)"

test -f Makefile.am || test -f test1.xml || ln -s ./test?.xml .
## examples regression tests
./io1 > io1.tmp && diff io1.tmp ./io1.res
4c4
<   <list><people>a</people><people>b</people></list>
---
>   <list xml:base="sql://select_name_from_people"><people>a</people><people>b</people></list>
make[1]: *** [tests] Error 1
make: *** [tests] Error 2
Comment 1 David Kilzer 2016-01-21 04:30:43 UTC
Here's the commit for Bug 731063 that may have caused the regression:

<https://git.gnome.org/browse/libxml2/commit/?id=8eb55d782a2b9afacc7938694891cc6fad7b42a5>
Comment 2 David Kilzer 2016-01-21 04:35:10 UTC
Created attachment 319481 [details]
test.sh (git-bisect-run script)

Shell script used to automatically bisect the git repository to find the regression point.  Note that the use of git-stash was because I needed to apply a patch for Bug 760190 to build upstream libxml2 on Mac OS X.
Comment 3 David Kilzer 2016-01-21 04:44:05 UTC
Created attachment 319482 [details] [review]
Patch v1
Comment 4 David Kilzer 2016-04-29 21:47:38 UTC
This was fixed in c5ddd095379826c6bda218b3e8ade6ff1a886674.

<https://git.gnome.org/browse/libxml2/commit/?id=c5ddd095379826c6bda218b3e8ade6ff1a886674>