Name Date Size

.. 1970-01-01 01:00:00 7

accept.c 1970-01-01 01:00:00 16.3 KiB

acceptread.c 1970-01-01 01:00:00 8.8 KiB

acceptreademu.c 1970-01-01 01:00:00 9.8 KiB

addrstr.c 1970-01-01 01:00:00 3.6 KiB

affinity.c 1970-01-01 01:00:00 3.4 KiB

alarm.c 1970-01-01 01:00:00 14.8 KiB

anonfm.c 1970-01-01 01:00:00 9.4 KiB

append.c 1970-01-01 01:00:00 5.5 KiB

atomic.c 1970-01-01 01:00:00 4.7 KiB

attach.c 1970-01-01 01:00:00 10.2 KiB

bigfile.c 1970-01-01 01:00:00 11.3 KiB

bigfile2.c 1970-01-01 01:00:00 4 KiB

bigfile3.c 1970-01-01 01:00:00 3.9 KiB

bug1test.c 1970-01-01 01:00:00 7.1 KiB

cleanup.c 1970-01-01 01:00:00 4.9 KiB

cltsrv.c 1970-01-01 01:00:00 39.6 KiB

concur.c 1970-01-01 01:00:00 5.3 KiB

cvar.c 1970-01-01 01:00:00 8.4 KiB

cvar2.c 1970-01-01 01:00:00 30.7 KiB

dbmalloc.c 1970-01-01 01:00:00 8.8 KiB

dbmalloc1.c 1970-01-01 01:00:00 3.9 KiB

dceemu.c 1970-01-01 01:00:00 4.3 KiB

depend.c 1970-01-01 01:00:00 5.5 KiB

dll 1970-01-01 01:00:00 7

dlltest.c 1970-01-01 01:00:00 7.4 KiB

dtoa.c 1970-01-01 01:00:00 6.7 KiB

env.c 1970-01-01 01:00:00 7.7 KiB

errcodes.c 1970-01-01 01:00:00 6.8 KiB

errset.c 1970-01-01 01:00:00 7.5 KiB

exit.c 1970-01-01 01:00:00 4.2 KiB

fdcach.c 1970-01-01 01:00:00 7.3 KiB

fileio.c 1970-01-01 01:00:00 6.5 KiB

foreign.c 1970-01-01 01:00:00 12 KiB

forktest.c 1970-01-01 01:00:00 9.6 KiB

formattm.c 1970-01-01 01:00:00 2.3 KiB

freeif.c 1970-01-01 01:00:00 2.4 KiB

fsync.c 1970-01-01 01:00:00 5.1 KiB

getai.c 1970-01-01 01:00:00 2.4 KiB

gethost.c 1970-01-01 01:00:00 9.3 KiB

getproto.c 1970-01-01 01:00:00 4.1 KiB

i2l.c 1970-01-01 01:00:00 3.8 KiB

initclk.c 1970-01-01 01:00:00 3.7 KiB

inrval.c 1970-01-01 01:00:00 8 KiB

instrumt.c 1970-01-01 01:00:00 13.6 KiB

intrio.c 1970-01-01 01:00:00 5.3 KiB

intrupt.c 1970-01-01 01:00:00 10.4 KiB

io_timeout.c 1970-01-01 01:00:00 8.3 KiB

io_timeoutk.c 1970-01-01 01:00:00 7 KiB

io_timeoutu.c 1970-01-01 01:00:00 7 KiB

ioconthr.c 1970-01-01 01:00:00 5 KiB

ipv6.c 1970-01-01 01:00:00 8.3 KiB

join.c 1970-01-01 01:00:00 7.9 KiB

joinkk.c 1970-01-01 01:00:00 5.5 KiB

joinku.c 1970-01-01 01:00:00 5.6 KiB

joinuk.c 1970-01-01 01:00:00 5.6 KiB

joinuu.c 1970-01-01 01:00:00 5.6 KiB

layer.c 1970-01-01 01:00:00 16.2 KiB

lazyinit.c 1970-01-01 01:00:00 4.2 KiB

libfilename.c 1970-01-01 01:00:00 4.1 KiB

lltest.c 1970-01-01 01:00:00 26.6 KiB

lock.c 1970-01-01 01:00:00 16.2 KiB

lockfile.c 1970-01-01 01:00:00 8.5 KiB

logger.c 1970-01-01 01:00:00 4.6 KiB

makedir.c 1970-01-01 01:00:00 3.4 KiB

Makefile.in 1970-01-01 01:00:00 13.8 KiB

many_cv.c 1970-01-01 01:00:00 4.6 KiB

mbcs.c 1970-01-01 01:00:00 6.4 KiB

multiacc.c 1970-01-01 01:00:00 8 KiB

multiwait.c 1970-01-01 01:00:00 22.8 KiB

nameshm1.c 1970-01-01 01:00:00 17.8 KiB

nbconn.c 1970-01-01 01:00:00 15.9 KiB

nblayer.c 1970-01-01 01:00:00 24.8 KiB

nonblock.c 1970-01-01 01:00:00 8 KiB

ntioto.c 1970-01-01 01:00:00 9.5 KiB

ntoh.c 1970-01-01 01:00:00 4.1 KiB

obsints.c 1970-01-01 01:00:00 2.5 KiB

op_2long.c 1970-01-01 01:00:00 3.4 KiB

op_excl.c 1970-01-01 01:00:00 4.7 KiB

op_filnf.c 1970-01-01 01:00:00 3 KiB

op_filok.c 1970-01-01 01:00:00 3.4 KiB

op_noacc.c 1970-01-01 01:00:00 3 KiB

op_nofil.c 1970-01-01 01:00:00 3.2 KiB

openfile.c 1970-01-01 01:00:00 4.6 KiB

parent.c 1970-01-01 01:00:00 4.7 KiB

peek.c 1970-01-01 01:00:00 12.5 KiB

perf.c 1970-01-01 01:00:00 12.8 KiB

pipeping.c 1970-01-01 01:00:00 6 KiB

pipeping2.c 1970-01-01 01:00:00 6 KiB

pipepong.c 1970-01-01 01:00:00 3.2 KiB

pipepong2.c 1970-01-01 01:00:00 4.3 KiB

pipeself.c 1970-01-01 01:00:00 7.7 KiB

poll_er.c 1970-01-01 01:00:00 7.5 KiB

poll_nm.c 1970-01-01 01:00:00 11.6 KiB

poll_to.c 1970-01-01 01:00:00 6.8 KiB

pollable.c 1970-01-01 01:00:00 9.3 KiB

prftest.c 1970-01-01 01:00:00 3 KiB

prftest1.c 1970-01-01 01:00:00 4.7 KiB

prftest2.c 1970-01-01 01:00:00 4.2 KiB

primblok.c 1970-01-01 01:00:00 4.4 KiB

priotest.c 1970-01-01 01:00:00 6.9 KiB

provider.c 1970-01-01 01:00:00 45.8 KiB

prpoll.c 1970-01-01 01:00:00 10.9 KiB

prpollml.c 1970-01-01 01:00:00 5.3 KiB

prselect.c 1970-01-01 01:00:00 10.9 KiB

prttools.h 1970-01-01 01:00:00 1.9 KiB

randseed.c 1970-01-01 01:00:00 4.8 KiB

ranfile.c 1970-01-01 01:00:00 14.6 KiB

README.TXT 1970-01-01 01:00:00 7.8 KiB

rmdir.c 1970-01-01 01:00:00 3.9 KiB

runtests.ksh 1970-01-01 01:00:00 5.9 KiB

runtests.sh 1970-01-01 01:00:00 6 KiB

runy2ktests.ksh 1970-01-01 01:00:00 5 KiB

rwlocktest.c 1970-01-01 01:00:00 6.1 KiB

sel_spd.c 1970-01-01 01:00:00 15.2 KiB

selct_er.c 1970-01-01 01:00:00 7.2 KiB

selct_nm.c 1970-01-01 01:00:00 9.2 KiB

selct_to.c 1970-01-01 01:00:00 6.5 KiB

select2.c 1970-01-01 01:00:00 10 KiB

selintr.c 1970-01-01 01:00:00 2.6 KiB

sem.c 1970-01-01 01:00:00 6.8 KiB

sema.c 1970-01-01 01:00:00 5.9 KiB

semaerr.c 1970-01-01 01:00:00 4.7 KiB

semaerr1.c 1970-01-01 01:00:00 4.5 KiB

semaping.c 1970-01-01 01:00:00 6.9 KiB

semapong.c 1970-01-01 01:00:00 5 KiB

sendzlf.c 1970-01-01 01:00:00 7.9 KiB

server_test.c 1970-01-01 01:00:00 18.1 KiB

servr_kk.c 1970-01-01 01:00:00 17.8 KiB

servr_ku.c 1970-01-01 01:00:00 17.4 KiB

servr_uk.c 1970-01-01 01:00:00 17.4 KiB

servr_uu.c 1970-01-01 01:00:00 17.4 KiB

short_thread.c 1970-01-01 01:00:00 2.9 KiB

sigpipe.c 1970-01-01 01:00:00 3.7 KiB

sleep.c 1970-01-01 01:00:00 4.3 KiB

socket.c 1970-01-01 01:00:00 69.8 KiB

sockopt.c 1970-01-01 01:00:00 7.3 KiB

sockping.c 1970-01-01 01:00:00 5.2 KiB

sockpong.c 1970-01-01 01:00:00 3.8 KiB

sprintf.c 1970-01-01 01:00:00 12.2 KiB

sproc_ch.c 1970-01-01 01:00:00 3.7 KiB

sproc_p.c 1970-01-01 01:00:00 3.2 KiB

stack.c 1970-01-01 01:00:00 8.1 KiB

stat.c 1970-01-01 01:00:00 3.3 KiB

stdio.c 1970-01-01 01:00:00 2.9 KiB

str2addr.c 1970-01-01 01:00:00 2.9 KiB

strod.c 1970-01-01 01:00:00 3.6 KiB

suspend.c 1970-01-01 01:00:00 6.1 KiB

switch.c 1970-01-01 01:00:00 7.9 KiB

system.c 1970-01-01 01:00:00 2.9 KiB

testbit.c 1970-01-01 01:00:00 3.7 KiB

testfile.c 1970-01-01 01:00:00 23.1 KiB

threads.c 1970-01-01 01:00:00 6.6 KiB

thrpool_client.c 1970-01-01 01:00:00 11.1 KiB

thrpool_server.c 1970-01-01 01:00:00 16.2 KiB

thruput.c 1970-01-01 01:00:00 13.1 KiB

time.c 1970-01-01 01:00:00 5.1 KiB

timemac.c 1970-01-01 01:00:00 4.9 KiB

timetest.c 1970-01-01 01:00:00 22.7 KiB

tmoacc.c 1970-01-01 01:00:00 11.1 KiB

tmocon.c 1970-01-01 01:00:00 13.4 KiB

tpd.c 1970-01-01 01:00:00 9 KiB

udpsrv.c 1970-01-01 01:00:00 17.2 KiB

ut_ttools.h 1970-01-01 01:00:00 1.9 KiB

vercheck.c 1970-01-01 01:00:00 3.7 KiB

version.c 1970-01-01 01:00:00 4.3 KiB

w16gui 1970-01-01 01:00:00 13

writev.c 1970-01-01 01:00:00 8.1 KiB

xnotify.c 1970-01-01 01:00:00 11.4 KiB

y2k.c 1970-01-01 01:00:00 36.4 KiB

y2ktmo.c 1970-01-01 01:00:00 17.2 KiB

yield.c 1970-01-01 01:00:00 2.9 KiB

zerolen.c 1970-01-01 01:00:00 8.7 KiB

README.TXT

File: pr/tests/readme
This document describes the test cases in the NSPR directory
pr/tests.
=====================================================================
There are some sub-directories here:
dll
sources for the .dll(.so) used by test dlltest.c
macbuild
MacIntosh project files
server
an empty directory. Does anyone remember why?
w16gui
Sources for a modified version of the poppad application from
Charles Petzold's book "Programming Windows 3.1". These
sources were modified to test the library lib/ds/PLEvent.
These files are obsolete and will not be maintained.
This test was superceded by lib/tests/windows/winevent.c and
lib/event.c and is now owned by CPD.
=====================================================================
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 fucntions. 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
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.
sproc_ch.c
Obsolete. Tests IRIX sproc-based threads.
sproc_p.c
Obsolete. Tests IRIX sproc-based threads.
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
w16gui\Makefile
Obsolete. Tests for lib/ds/PLEvent on Windows 3.1.
w16gui\popfile.c
w16gui\popfind.c
w16gui\popfont.c
w16gui\poppad.c
w16gui\poppad.h
w16gui\poppad.ico
w16gui\poppad.rc
w16gui\popprnt0.c
w16gui\readme.1st