GNOME Bugzilla – Bug 760921
REGRESSION (8eb55d78): doc/examples/io1 test fails after fix for "xmlSaveUri() incorrectly recomposes URIs with rootless paths"
Last modified: 2016-04-29 21:47:38 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
Here's the commit for Bug 731063 that may have caused the regression: <https://git.gnome.org/browse/libxml2/commit/?id=8eb55d782a2b9afacc7938694891cc6fad7b42a5>
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.
Created attachment 319482 [details] [review] Patch v1
This was fixed in c5ddd095379826c6bda218b3e8ade6ff1a886674. <https://git.gnome.org/browse/libxml2/commit/?id=c5ddd095379826c6bda218b3e8ade6ff1a886674>