[Bug 984] New: pkgchk not logging header checks to journal
| Newsgroups | gmane.linux.lsb.test-suite |
|---|---|
| Message-ID | <[email protected]> |
OtherBugsDependingO 613
nThis:
the rpmchk library (used by pkgchk) performs a series of header checks, many
driven out of a table of tags and functions to call to test them. There is no
journalling code in this area of rpmchk. As a result, pkgchk reports to stderr
that look like errors are never logged as fails, for example incorrect
RPMTAG_ARCH. Also the absence of required dependencies, also reported to stderr,
is not journalled.
This bug needs fixing for certification: it doesn't make sense to submit pkgchk
journals for certification if errors in the package can't be detected from them.
This will take a little thought: is an individual header check a single testcase
or is "check the header" a testcase? In the former case, each header-check
functions could use tetj to log the testcase; in the latter, the functions will
need to log info and return a pass/fail that the calling routine can keep track
of and at the end report fail if anything failed.
--
Configure bugmail: http://bugs.linuxbase.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.