Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 230503 - NSS needs to provide a test package
Summary: NSS needs to provide a test package
Alias: None
Product: Fedora
Classification: Fedora
Component: nss
Version: rawhide
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Kai Engert (:kaie) (inactive account)
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 2007-03-01 02:10 UTC by Bob Relyea
Modified: 2008-02-15 16:43 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2008-02-15 16:43:24 UTC

Attachments (Terms of Use)

Description Bob Relyea 2007-03-01 02:10:11 UTC
Description of problem:

Upstream NSS includes in it's tar ball a test script which can verify and NSS
installation. We should make that test script, which the necessary binaries
which aren't already in an NSS package, in it's own package that can be
installed and ran.

Comment 1 Kai Engert (:kaie) (inactive account) 2007-04-18 00:04:42 UTC
Chandra, do you have experience with running the NSS test programs?

Bob R: Is your proposal to run "" ?

How should this work in detail?

I just tried to run on my system, I started with
  HOST=localhost DOMSUF=localdomain ./

and the test seems to be in a kind of endless loop where a TCP test with tstclnt
repeatedly fails.

Should this be a purely optional manual task that someone can run and look at
the test output?

Or, does the script return a single exit code that indicates "all tests succeeded"?

Comment 2 Bob Relyea 2007-05-25 22:46:41 UTC
Your endless loop thing should be identified. I run on my machines all
the time to verify my fixes.

Unfortunately itself does not return a rollup success code, but there are
scripts which can determine if had any failure or not. The tools is
definately meant to be run automatically as well as manually (tinderbox
automatically runs, for instance, after every build, failures turn
tinderbox orange rather than red (build failures)).

Comment 3 Kai Engert (:kaie) (inactive account) 2008-02-15 16:43:24 UTC
The original approach seemed hard, this is why I had not worked on this bug yet.

However, we did come up with a better idea!
Let's run the test suite as part of the rpm build process.
A successful run of the test suite on the build test is a necessary precondition
to get a rpm package!

This should avoid the need for having the test suite available for installation.

This has been fixed in Rawhide.
Test suite is currently enabled for i386 and x86_64, but temporarily disabled
for ppc and ppc64 because of an upstream failure.

Note You need to log in before you can comment on or make changes to this bug.