diff options
author | Adam <you@example.com> | 2020-05-17 05:51:50 +0200 |
---|---|---|
committer | Adam <you@example.com> | 2020-05-17 05:51:50 +0200 |
commit | e611b132f9b8abe35b362e5870b74bce94a1e58e (patch) | |
tree | a5781d2ec0e085eeca33cf350cf878f2efea6fe5 /private/posix/tests.psx | |
download | NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.gz NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.bz2 NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.lz NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.xz NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.zst NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.zip |
Diffstat (limited to 'private/posix/tests.psx')
-rw-r--r-- | private/posix/tests.psx | 67 |
1 files changed, 67 insertions, 0 deletions
diff --git a/private/posix/tests.psx b/private/posix/tests.psx new file mode 100644 index 000000000..6d830ac0e --- /dev/null +++ b/private/posix/tests.psx @@ -0,0 +1,67 @@ +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' |