Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

67 lines
1.7 KiB

  1. Our internal (minimal) tests are the tst*.c files in the posix\client directory.
  2. Currently, the default root for the POSIX subsystem is d:\psx.
  3. tstdir.c: 'tstdir /psx/test'
  4. - requires a current version of tsthello.exe in d:\psx
  5. - d:\psx\test directory must exist with 2 levels of subdirectories that
  6. contain files.
  7. - d:\psx\test\tstdirs directory must exist
  8. tstfile.c: ' tstfile tstf.one tstf.two'
  9. - requires 3 files in d:\psx: tstf.one, tstf.two, out.dat. Contents
  10. unimportant.
  11. **** Currently fails when trying to recreate a file that already
  12. exists because the wrong error code is returned from PbOpenExistingFcb
  13. Garyki will fix this.
  14. tstfork.c : 'tstfork'
  15. - requires tsthello.exe in d:\psx
  16. **** Currently fails with Exception in ex0(). Used to work and no
  17. changes make since that would effect this test.
  18. tsthello.c: 'tsthello string'
  19. - just proves that you can get in and out of subsystem
  20. tstjc.c: 'tstjc'
  21. tstloop.c: 'tstloop'
  22. tstmd.c: 'tstmd string'
  23. - requires that whatever string you give it for an argument cannot
  24. exist as a directory in \psx
  25. tstmisc: 'tstmisc'
  26. - requires the file d:\psx\conffile (contents unimportant)
  27. - tests sysconf(), pathconf(), fpathconf(), uname(), time(), times()
  28. tstnpipe.c: 'tstnpipe named.pip'
  29. - requires d:\psx\named.pip
  30. **** Currently fails with erroneous error codes.
  31. tstrmdir.c: 'tstrmdir dirname'
  32. - requires the following sub directories in d:\psx\test:
  33. rmtst1 containing one file "ab"
  34. rmtst2 containing one file ".a" (??)
  35. rmtst3 containing one file "a."
  36. rmtst4 containing one file "abcde"
  37. - /psx/test must not have an existing subdirectory with the same name
  38. as the dirname argument.
  39. tstsid.c: 'tstsid'
  40. tstsig.c: 'tstsig'
  41. tstumask.c: ' tstumask'