[Libguestfs] [PATCH 1/3] perl: Add =encoding to Sys::Guestfs man page.

Richard W.M. Jones rjones at redhat.com
Fri Mar 31 09:39:21 UTC 2017


On Fri, Mar 31, 2017 at 10:37:41AM +0100, Richard W.M. Jones wrote:
> On Fri, Mar 31, 2017 at 10:32:22AM +0100, Richard W.M. Jones wrote:
> > Otherwise the man page cannot contain any non-7-bit-ASCII characters.
> > 
> > The test error seen was:
> > 
> > Wide character in print at /usr/share/perl5/vendor_perl/Test2/Formatter/TAP.pm line 112.
> > t/910-pod.t ................
> > Dubious, test returned 1 (wstat 256, 0x100)
> > Failed 1/1 subtests
> 
> Somehow I pasted the wrong error message.  The real error
> was:
> 
> #   Failed test 'POD test for blib/lib/Sys/Guestfs.pm'
> #   at /usr/share/perl5/vendor_perl/Test/Pod.pm line 187.
> Wide character in print at /usr/share/perl5/vendor_perl/Test2/Formatter/TAP.pm line 112.
> # blib/lib/Sys/Guestfs.pm (1811): Non-ASCII character seen before =encoding in 'caller’s'. Assuming UTF-8
> # Looks like you failed 1 test of 1.

Oh I see, mystery solved.  It's because 'git commit' removes
every line that begins with '#'.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
libguestfs lets you edit virtual machines.  Supports shell scripting,
bindings from many languages.  http://libguestfs.org




More information about the Libguestfs mailing list