[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#609205: ITP: libtest-file-contents-perl -- Perl module for testing the contents of files



-=| Alessandro Ghedini, Fri, Jan 07, 2011 at 12:20:00PM +0100 |=-
> Package: wnpp
> * Package name    : libtest-file-contents-perl
> * URL             : http://search.cpan.org/dist/Test-File-Contents/
>   Description     : Perl module for testing the contents of files
> 
> Test::File::Contents provides a set of routines useful to construct
> tests that examine the content of files.
> 
> It can check for an exact match and for a regexp match against the file's
> contents, but also if the file's contents do not match a string or a
> regexp and whether a file matches or not a given md5sum.

Is that module able to test if the contents of a given file match the 
contents of another file? Bonus points if if shows a unified diff in 
case of mismatch.

That would be useful for dh-make-perl's test suite.

Attachment: signature.asc
Description: Digital signature


Reply to: