Red Hat Bugzilla – Bug 190583
Review Request: perl-Test-Differences - Test strings and data structures and show differences if not ok
Last modified: 2007-11-30 17:11:31 EST
When the code you're testing returns multiple lines, records or data
structures and they're just plain wrong, an equivalent to the Unix
diff utility may be just what's needed.
Things build OK and the test suite says that it passes, but test 01text_vs_data
is really noisy and looks like it should be failing. I'm guessing it's just
stray output from the test.
* package meets naming and packaging guidelines.
* specfile is properly named, is cleanly written, uses macros consistently, and
follows the Perl specfile template.
* license field matches the actual license.
* license is open source-compatible. It's not included separately in the
package, but this is not necessary as the upstream tarball does not include it.
* source files match upstream:
* latest version is being packaged.
* BuildRequires are proper.
* package builds in mock (development, x86_64).
* rpmlint is silent.
* final provides and requires are sane.
* no shared libraries are present.
* package is not relocatable.
* owns the directories it creates.
* doesn't own any directories it shouldn't.
* no duplicates in %files.
* file permissions are appropriate.
* %clean is present.
* %check is present and all tests pass:
All tests successful.
Files=7, Tests=23, 1 wallclock secs ( 0.22 cusr + 0.08 csys = 0.30 CPU)
* no scriptlets present.
* code, not content.
* documentation is small, so no -docs subpackage is necessary.
* %docs are not necessary for the proper functioning of the package.
* no headers.
* no pkgconfig files.
* no libtool .la droppings.
* not a GUI app.
Thanks for the review.
(In reply to comment #1)
> Things build OK and the test suite says that it passes, but test 01text_vs_data
> is really noisy and looks like it should be failing. I'm guessing it's just
> stray output from the test.
The t/01text_vs_data.t tests are failing but as they are marked as TODO they
count as sucessful.
The TODO allows developers to start planning/creating new tests without having
to making them successful. When they start passing they can be moved out of the
TODO blocks. TODO tests that start passing are reported as "unexpected succeed".
Imported and built for FC-4, FC-5, and devel.