Blame tests/00README

Packit 6f02de
Packit 6f02de
		.../lsof_<version>/tests
Packit 6f02de
Packit 6f02de
This sub-directory contains support for lsof's test suite.  Find
Packit 6f02de
more information about the test suite in the 00TESTS file of the
Packit 6f02de
lsof distribution, which should be in in the parent of this
Packit 6f02de
subdirectory.
Packit 6f02de
Packit 6f02de
These tests can be activated from .. with:
Packit 6f02de
Packit 6f02de
    $ make test
Packit 6f02de
Packit 6f02de
They can be activated from this directory with:
Packit 6f02de
Packit 6f02de
    $ make
Packit 6f02de
    $ make test
Packit 6f02de
    $ make all
Packit 6f02de
Packit 6f02de
These tests are all written in C, so individual tests may be
Packit 6f02de
activated by executing them directly -- e.g.,
Packit 6f02de
Packit 6f02de
    $ ./LTlock
Packit 6f02de
Packit 6f02de
It may sometimes be necessary to use execution-time options
Packit 6f02de
alter test behavior.  (Some tests will suggest that when they
Packit 6f02de
encounter certain kinds of errors.)  See the 00FAQ and 00TEST files
Packit 6f02de
in .. for more information.
Packit 6f02de
Packit 6f02de
These tests check lsof field output, not lsof text output.  There
Packit 6f02de
are no tests for lsof text output.
Packit 6f02de
Packit 6f02de
Here is a brief description of the files in this subdirectory:
Packit 6f02de
Packit 6f02de
    00README		this file
Packit 6f02de
Packit 6f02de
    Add2TestDB          a script to add the identity of the current
Packit 6f02de
			test to TestDB
Packit 6f02de
Packit 6f02de
    CkTestDB		a script to check the identity of this
Packit 6f02de
			dialect against the TestDB file
Packit 6f02de
Packit 6f02de
    config.cc           a file prepared by ../Configure that contains
Packit 6f02de
			the name (and possibly the path) to the C
Packit 6f02de
			compiler for the programs of this sub-directory
Packit 6f02de
Packit 6f02de
    config.cflags       a file prepared by ../Configure that contains
Packit 6f02de
			C compiler flags for the programs of this
Packit 6f02de
			sub-directory
Packit 6f02de
Packit 6f02de
    config.libs		a file prepared by ../Configure that contains
Packit 6f02de
			library load specifications -- i.e, make(1)
Packit 6f02de
			LDFLAGS
Packit 6f02de
Packit 6f02de
    config.xobj         a file prepared by ../Configure that contains
Packit 6f02de
			paths to any extra object files (*.o) needed
Packit 6f02de
			by the C programs in this directory
Packit 6f02de
Packit 6f02de
    LsofTest.h		lsof test definitions for C programs
Packit 6f02de
Packit 6f02de
    LTbasic.c		C source to basic lsof tests
Packit 6f02de
Packit 6f02de
    LTbigf.c		C source to a program that tests large file
Packit 6f02de
			sizes and offsets on dialects that support
Packit 6f02de
			file sizes > 32 bits
Packit 6f02de
Packit 6f02de
    LTdnlc.c            C source to a program that tests the
Packit 6f02de
			effectiveness of assembling path names from
Packit 6f02de
			the kernel's Dynamic Name Lookup Cache
Packit 6f02de
			(DNLC)
Packit 6f02de
Packit 6f02de
    LTlib.c		a support library in C
Packit 6f02de
Packit 6f02de
    LTlock.c		C source to a program that tests lock reporting
Packit 6f02de
Packit 6f02de
    LTnfs		C source to a program that tests for open NFS
Packit 6f02de
			files
Packit 6f02de
Packit 6f02de
    LTnlink.c           C source to a program that tests lsof's
Packit 6f02de
			reporting of open file link counts
Packit 6f02de
Packit 6f02de
    LTsock.c            C source to program that tests the finding
Packit 6f02de
			of IPv4 sockets
Packit 6f02de
Packit 6f02de
    LTszoff.c           C source to a program that tests file sizes
Packit 6f02de
			and offsets  -- see LTbigf.c for a large
Packit 6f02de
			file (size > 32 bits) test
Packit 6f02de
Packit 6f02de
    LTunix.c		C source to a program that tests the finding
Packit 6f02de
			of UNIX domain sockets
Packit 6f02de
Packit 6f02de
    Makefile		the make(1) control file
Packit 6f02de
Packit 6f02de
			The Makefile clean rule will not remove
Packit 6f02de
			config.* files, but the spotless rule will.
Packit 6f02de
			One the spotless rule has been used,
Packit 6f02de
			../Configure must be re-run.
Packit 6f02de
Packit 6f02de
    TestDB              a data base of dialects where the test
Packit 6f02de
			suite has been validated
Packit 6f02de
Packit 6f02de
Vic Abell
Packit 6f02de
April 11, 2002