khronosschoty 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
..
dll 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
Makefile.in 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
README.TXT 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
abstract.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
accept.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
acceptread.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
acceptreademu.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
addrstr.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
affinity.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
alarm.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
anonfm.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
append.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
atomic.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
attach.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
bigfile.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
bigfile2.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
bigfile3.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
bug1test.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
cleanup.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
cltsrv.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
concur.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
cvar.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
cvar2.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
dbmalloc.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
dbmalloc1.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
dceemu.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
depend.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
dlltest.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
dtoa.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
env.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
errcodes.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
errset.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
exit.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
fdcach.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
fileio.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
foreign.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
forktest.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
formattm.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
freeif.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
fsync.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
getai.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
gethost.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
getproto.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
i2l.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
initclk.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
inrval.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
instrumt.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
intrio.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
intrupt.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
io_timeout.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
io_timeoutk.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
io_timeoutu.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
ioconthr.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
ipv6.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
join.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
joinkk.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
joinku.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
joinuk.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
joinuu.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
layer.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
lazyinit.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
libfilename.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
lltest.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
lock.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
lockfile.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
logfile.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
logger.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
makedir.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
many_cv.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
mbcs.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
monref.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
multiacc.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
multiwait.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
nameshm1.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
nbconn.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
nblayer.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
nonblock.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
ntioto.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
ntoh.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
obsints.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
op_2long.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
op_excl.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
op_filnf.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
op_filok.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
op_noacc.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
op_nofil.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
openfile.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
parent.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
parsetm.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
peek.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
perf.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
pipeping.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
pipeping2.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
pipepong.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
pipepong2.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
pipeself.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
poll_er.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
poll_nm.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
poll_to.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
pollable.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
prfdbl.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
prftest.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
prftest1.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
prftest2.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
prfz.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
primblok.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
priotest.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
provider.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
prpoll.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
prpollml.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
prselect.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
prttools.h 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
pushtop.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
randseed.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
ranfile.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
reinit.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
rmdir.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
runtests.pl 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
runtests.sh 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
runy2ktests.ksh 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
rwlockrank.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
rwlocktest.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
sel_spd.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
selct_er.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
selct_nm.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
selct_to.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
select2.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
selintr.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
sem.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
sema.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
semaerr.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
semaerr1.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
semaping.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
semapong.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
sendzlf.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
server_test.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
servr_kk.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
servr_ku.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
servr_uk.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
servr_uu.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
short_thread.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
sigpipe.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
sleep.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
socket.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
sockopt.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
sockping.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
sockpong.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
sprintf.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
stack.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
stat.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
stdio.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
str2addr.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
strod.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
suspend.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
switch.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
system.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
testbit.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
testfile.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
threads.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
thrpool_client.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
thrpool_server.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
thruput.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
time.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
timemac.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
timetest.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
tmoacc.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
tmocon.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
tpd.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
udpsrv.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
ut_ttools.h 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
vercheck.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
version.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
writev.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
xnotify.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
y2k.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
y2ktmo.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
yield.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred
zerolen.c 17d73c84dc added Pale Moon 29.4.4 2 rokov pred

README.TXT

File: pr/tests/readme

This document describes the test cases in the NSPR directory
pr/tests.

=====================================================================
There is a sub-directory here:

dll
sources for the .dll(.so) used by test dlltest.c

=====================================================================
The individual files are described here.

The script 'runtests.ksh' enumerates and runs test cases that are
expected to run on all platforms.


accept.c
Tests PR_Accept() and related socket functions.

acceptread.c
Tests PR_AcceptRead()

alarm.c
Tests alarm functions declared in obsolete/pralarm.h.
The alarm functions are obsolete, so is this test.

atomic.c
Tests Atomic operations defined in pratom.h

attach.c
Test PR_AttachThread()
Note: This is an NSPR private function.

bigfile.c
Test 64bit file offset functions declared in prio.h

bug1test.c
Demonstrates a bug on NT.

cleanup.c
Tests PR_Cleanup() declared in prinit.h

cltsrv.c
Tests many socket functions.

concur.c
Tests threading functions and concurrent operations.

cvar.c
Tests condition variables.

cvar2.c
Tests condition variables. A rather abusive test.

dbmalloc.c
Obsolete. Originally for testing debug builds of NSPR's malloc.

dbmalloc1.c
Obsolete. Originally for testing debug builds of NSPR's malloc.

dceemu.c
Tests special functions for DCE emulation.

depend.c
Obsoltet. Tests early spec for library dependency.

dlltest.c
Tests dynamic library functions. Used with dll/my.c

dtoa.c
Tests conversions of double to string.

exit.c
Tests PR_ProcessExit() declared in prinit.h

fileio.c
Tests NSPR semaphores a bit of file i/o and threading
functions.

foreign.c
Test auto-attach of a thread created by something other than
NSPR.

forktest.c
Limited use. Tests unix fork() and related functions.

fsync.c
Tests use of PR_Sync() declared in prio.h

getproto.c
Tests socket functions PR_GetProtoByName(), etc.

i2l.c
Tests LongLong functions for converting 32bit integer to 64bit
integer.

initclk.c
Tests timing on minimal use of condition variable

inrval.c
Tests interval timing functions.

instrumt.c
Tests instrumentation functions. prcountr.h prtrace.h

intrupt.c
Tests PR_Interrupt()

ioconthr.c
Tests i/o continuation mechanism in pthreads.

io_timeout.c
Test socket i/o timeouts.

io_timeoutk.c
Obsolete. Subsumed in io_timeout.c

io_timeoutu.c
Obsolete. Subsumed in io_timeout.c

ipv6.c
Tests IPv6. IPv6 is not used by NSPR clients.

join.c
Tests PR_JoinThread()

joinkk.c
Tests PR_JoinThread()

joinku.c
Tests PR_JoinThread()

joinuk.c
Tests PR_JoinThread()

joinuu.c
Tests PR_JoinThread()

layer.c
Tests layered I/O.

lazyinit.c
Tests implicit initialization.

lltest.c
Tests LongLong (64bit integer) arithmentic and conversions.

lock.c
Tests PR_Lock() in heavily threaded environment.

lockfile.c
Test PR_Lockfile().

logger.c
Tests PR_LOG()

makefile
The makefile that builds all the tests

many_cv.c
Tests aquiring a large number of condition variables.

multiwait.c
???

nbconn.c
Test non-blocking connect.

nblayer.c
Tests NSPR's layered I/O capability.

nonblock.c
Tests operations on non-blocking socket.

op_2long.c
Tests PR_Open() where filename is too long.

op_filnf.c
Tests PR_Open() where filename is NotFound.

op_filok.c
Tests PR_Open() where filename is accessable.

op_noacc.c
Tests PR_Open() where file permissions are wrong.
Limited use. Windows has no concept of Unix style file permissions.

op_nofil.c
Tests PR_Open() where filename does not exist.

parent.c
Test parent/child process capability

perf.c
Tests and measures context switch times for various thread
syncronization functions.

pipeping.c
Tests inter-process pipes. Run with pipepong.c

pipepong.c
Tests inter-process pipes. Run with pipeping.c

pipeself.c
Tests inter-thread pipes.

pollable.c
Tests pollable events. prio.h

poll_er.c
Tests PR_Poll() where an error is expected.

poll_nm.c
Tests PR_Poll() where normal operation is expected.

poll_to.c
Tests PR_Poll() where timeout is expected.

prftest.c
Tests printf-like formatting.

prftest1.c
Obsolete. Subsumed in prftest.c

prftest2.c
Obsolete. Subsumed in prftest.c

prfz.c
Tests printf handling of (s)size_t formats

priotest.c
Limited use. Tests NSPR thread dispatching priority.

provider.c

prpoll.c
Tests PR_Poll().

prselect.c
Obsolete. PR_Select() is obsolete.

prttools.h
Unused file.

ranfile.c
Tests random file access.

readme
This file.

runtests.ksh
A korn shell script that runs a set of tests that should run
on any of the NSPR supported platforms.

runtests.pl
A perl script to run the test cases. This srcipt runs tests
common to all platforms and runs tests applicable to specific
platforms. Uses file runtests.txt to control execution.

runtests.txt
Control file for perl script: runtests.pl

rwlocktest.c
Tests Reader/Writer lock

selct_er.c
Obsolete. PR_Select() is obsolete.

selct_nm.c
Obsolete. PR_Select() is obsolete.

selct_to.c
Obsolete. PR_Select() is obsolete.

select2.c
Obsolete. PR_Select() is obsolete.

sel_spd.c
Obsolete. PR_Select() is obsolete.

sem.c
Obsolete. Semaphores are not supported.

server_test.c
Tests sockets by simulating a server in loopback mode.
Makes its own client threads.

servr_kk.c
Tests client/server sockets, threads using system threads.

servr_ku.c
Tests client/server sockets, threads using system and user threads.

servr_uk.c
Tests client/server sockets, threads using system and user threads.

servr_uu.c
Tests client/server sockets, threads user threads.

short_thread.c
Tests short-running threads. Useful for testing for race conditions.

sigpipe.c
Tests NSPR's SIGPIPE handler. Unix only.

sleep.c
Limited use. Tests sleep capability of platform.

socket.c
Tests many socket functions.

sockopt.c
Tests setting and getting socket options.

sprintf.c
Tests sprintf.

stack.c
Test atomic stack operations.

stat.c
Tests performance of getfileinfo() vs. stat()

stdio.c
Tests NSPR's handling of stdin, stdout, stderr.

strod.c
Tests formatting of double precision floating point.

suspend.c
Private interfaces PR_SuspendAll(), PR_ResumeAll(), etc.

switch.c
Tests thread switching

system.c
Tests PR_GetSystemInfo()

testbit.c
Tests bit arrays.

testfile.c
Tests many file I/O functions.

threads.c
Tests thread caching.

thruput.c
Tests socket thruput. Must be run by hand as client/server.
Does not self terminate.

time.c
Incomplete. Limited use.

timemac.c
Test time and date functions. Originally for Mac.

timetest.c
Tests time conversion over a wide range of dates.

tmoacc.c
Server to tmocon.c and writev.c
Do not run it by itself.

tmocon.c
Client thread to tmoacc.c

tpd.c
Tests thread private data.

udpsrv.c
Tests UDP socket functions.

ut_ttools.h
unused file.

version.c
Extract and print library version data.

vercheck.c
Test PR_VersionCheck().

writev.c
Tests gather-write on a socket. Requires tmoacc.c

xnotify.c
Tests cached monitors.

yield.c
Limited use

y2k.c
Test to verify NSPR's date functions as Y2K compliant.

dll\Makefile
makefile for mygetval.c, mysetval.c

dll\mygetval.c
Dynamic library test. See also dlltest.c

dll\mysetval.c
Dynamic library test. See also dlltest.c