• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..--

MakefileD26-Jul-20153.1 KiB11777

READMED26-Jul-20151.5 KiB2922

guard_b.cD26-Jul-20154.6 KiB15381

guard_b.expD26-Jul-2015120 53

guard_s.plD26-Jul-20152.3 KiB7027

hello_b.cD26-Jul-2015329 145

hello_d.cD26-Jul-2015741 3924

hello_d.expD26-Jul-201598 31

hello_s.cD26-Jul-2015945 4830

join_leak_d.cD26-Jul-20153.1 KiB10954

join_leak_d.expD26-Jul-2015110 42

mutex_d.cD26-Jul-201542.1 KiB1,559979

mutex_d.expD26-Jul-201514 KiB292282

propagate_s.plD26-Jul-20152.6 KiB7534

sem_d.cD26-Jul-20153.6 KiB13473

sem_d.expD26-Jul-2015384 2422

sigsuspend_d.cD26-Jul-20158 KiB291170

sigsuspend_d.expD26-Jul-2015435 108

sigwait_d.cD26-Jul-20158.7 KiB305170

sigwait_d.expD26-Jul-2015346 1210

verifyD26-Jul-201511 KiB475359

README

1$FreeBSD: stable/9/lib/libkse/test/README 172491 2007-10-09 13:42:34Z obrien $
2
3This test suite is meant to test general functionality of pthreads, as well as
4provide a simple framework for regression tests.  In general, this test suite
5can be used with any pthreads library, but in reality there are a number of
6libpthread-specific aspects to this test suite which would require some
7effort to get around if testing another pthreads library.
8
9This test suite assumes that libpthread is installed.
10
11There are two forms of test that the 'verify' script understands.  The simpler
12form is the diff format, where the output of the test program is diff'ed with
13the correspondingly named .exp file.  If there is diff output, the test fails.
14The sequence test format is somewhat more complex, and is documented in the
15command line usage output for verify.  The advantage of this format is that it
16allows multiple tests to pass/fail within one program.
17
18There is no driving need for test naming consistency, but the existing tests
19generally follow these conventions:
20
21<name>_d.c <name>_d.exp     : Diff mode C test and expected output file.
22<name>_s.c                  : Sequence mode C test.
23<name>_b*.c                 : Back end C program used by perl tests.
24<name>_d.pl <name>_d.pl.exp : Diff mode perl test and expected output file.
25<name>_s.pl                 : Sequence mode perl test.
26
27<name> is something descriptive, such as "pr14685" in the case of a PR-related
28regression test, or "mutex" in the case of a test of mutexes.
29