1 #!/usr/bin/perl -w # -*- perl -*-
4 require "t/pod2html-lib.pl";
13 use File::Spec::Functions;
14 use Test::More tests => 1;
17 my $output = make_test_dir();
18 skip "$output", 1 if $output;
21 my $cwd = catdir cwd(); # catdir converts path separators to that of the OS
23 # XXX but why don't the other tests complain about
26 convert_n_test("htmldir5", "test --htmldir and --htmlroot 5",
27 "--podpath=t:testdir/test.lib",
36 <?xml version="1.0" ?>
37 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
38 <html xmlns="http://www.w3.org/1999/xhtml">
41 <meta http-equiv="content-type" content="text/html; charset=utf-8" />
42 <link rev="made" href="mailto:[PERLADMIN]" />
45 <body style="background-color: white">
50 <li><a href="#NAME">NAME</a></li>
51 <li><a href="#LINKS">LINKS</a></li>
54 <h1 id="NAME">NAME</h1>
56 <p>htmldir - Test --htmldir feature</p>
58 <h1 id="LINKS">LINKS</h1>
60 <p>Normal text, a <a>link</a> to nowhere,</p>
62 <p>a link to <a href="../testdir/test.lib/var-copy.html">var-copy</a>,</p>
64 <p><a href="./htmlescp.html">htmlescp</a>,</p>
66 <p><a href="./feature.html#Another-Head-1">"Another Head 1" in feature</a>,</p>
68 <p>and another <a href="./feature.html#Another-Head-1">"Another Head 1" in feature</a>.</p>