It was released 13 years ago and we still don't support it. Signed-off-by: Felipe Contreras <felipe.contreras@xxxxxxxxx> --- t/t0600-doc-tools.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/t/t0600-doc-tools.sh b/t/t0600-doc-tools.sh index a80cd32cd6..e4388a54c6 100755 --- a/t/t0600-doc-tools.sh +++ b/t/t0600-doc-tools.sh @@ -61,7 +61,8 @@ xmltoman() { } build_asciidoc_py() { - asciidoc -f "$doc_dir/asciidoc.conf" -amanmanual='Git Manual' -amansource='Git 1.0.0' -arevdate='2005-01-01' -b docbook -d manpage \ + backend=${2-docbook} + asciidoc -f "$doc_dir/asciidoc.conf" -amanmanual='Git Manual' -amansource='Git 1.0.0' -arevdate='2005-01-01' -b "$backend" -d manpage \ -o "$1.xml" "$1.txt" && xmltoman "$1" } @@ -83,6 +84,11 @@ test_expect_success ASCIIDOC 'legacy asciidoc.py' ' check_manpage "git-foo" ' +test_expect_failure ASCIIDOC 'legacy asciidoc.py (docbook5)' ' + build_asciidoc_py "git-foo" docbook5 && + check_manpage "git-foo" +' + test_expect_success ASCIIDOCTOR 'modern asciidoctor (docbook5)' ' build_asciidoctor "git-foo" && check_manpage "git-foo" -- 2.40.0+fc1