68 lines
1.7 KiB
Plaintext
68 lines
1.7 KiB
Plaintext
Our internal (minimal) tests are the tst*.c files in the posix\client directory.
|
|
Currently, the default root for the POSIX subsystem is d:\psx.
|
|
|
|
tstdir.c: 'tstdir /psx/test'
|
|
|
|
- requires a current version of tsthello.exe in d:\psx
|
|
- d:\psx\test directory must exist with 2 levels of subdirectories that
|
|
contain files.
|
|
- d:\psx\test\tstdirs directory must exist
|
|
|
|
tstfile.c: ' tstfile tstf.one tstf.two'
|
|
|
|
- requires 3 files in d:\psx: tstf.one, tstf.two, out.dat. Contents
|
|
unimportant.
|
|
|
|
**** Currently fails when trying to recreate a file that already
|
|
exists because the wrong error code is returned from PbOpenExistingFcb
|
|
Garyki will fix this.
|
|
|
|
tstfork.c : 'tstfork'
|
|
|
|
- requires tsthello.exe in d:\psx
|
|
|
|
**** Currently fails with Exception in ex0(). Used to work and no
|
|
changes make since that would effect this test.
|
|
|
|
tsthello.c: 'tsthello string'
|
|
|
|
- just proves that you can get in and out of subsystem
|
|
|
|
tstjc.c: 'tstjc'
|
|
|
|
tstloop.c: 'tstloop'
|
|
|
|
tstmd.c: 'tstmd string'
|
|
|
|
- requires that whatever string you give it for an argument cannot
|
|
exist as a directory in \psx
|
|
|
|
tstmisc: 'tstmisc'
|
|
|
|
- requires the file d:\psx\conffile (contents unimportant)
|
|
|
|
- tests sysconf(), pathconf(), fpathconf(), uname(), time(), times()
|
|
|
|
tstnpipe.c: 'tstnpipe named.pip'
|
|
|
|
- requires d:\psx\named.pip
|
|
|
|
**** Currently fails with erroneous error codes.
|
|
|
|
tstrmdir.c: 'tstrmdir dirname'
|
|
|
|
- requires the following sub directories in d:\psx\test:
|
|
rmtst1 containing one file "ab"
|
|
rmtst2 containing one file ".a" (??)
|
|
rmtst3 containing one file "a."
|
|
rmtst4 containing one file "abcde"
|
|
|
|
- /psx/test must not have an existing subdirectory with the same name
|
|
as the dirname argument.
|
|
|
|
tstsid.c: 'tstsid'
|
|
|
|
tstsig.c: 'tstsig'
|
|
|
|
tstumask.c: ' tstumask'
|