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