f_test.html 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. <html>
  2. <head>
  3. <title>f_test</title>
  4. <body bgcolor=#ffffff>
  5. <h2 align=center>f_test</h2>
  6. <h4 align=center>OS/161 Reference Manual</h4>
  7. <h3>Name</h3>
  8. f_test - basic concurrent filesystem test
  9. <h3>Synopsis</h3>
  10. /testbin/f_test [1|2|3]
  11. <h3>Description</h3>
  12. f_test consists of three tests, 1-3, that can be specified on the
  13. command line. If nothing is specified, all three tests are run.
  14. <p>
  15. Test 1 writes a large file (a bit over 270k) and reads it back.
  16. <p>
  17. Test 2 creates and removes a directory tree, rather like
  18. <A HREF=dirtest.html>dirtest</A>.
  19. <p>
  20. Test 3 spawns three subprocesses that simultaneously read and write
  21. the same file.
  22. <p>
  23. <h3>Requirements</h3>
  24. f_test uses the following system calls:
  25. <ul>
  26. <li> <A HREF=../syscall/fork.html>fork</A>
  27. <li> <A HREF=../syscall/execv.html>execv</A>
  28. <li> <A HREF=../syscall/waitpid.html>waitpid</A>
  29. <li> <A HREF=../syscall/open.html>open</A>
  30. <li> <A HREF=../syscall/read.html>read</A>
  31. <li> <A HREF=../syscall/write.html>write</A>
  32. <li> <A HREF=../syscall/close.html>close</A>
  33. <li> <A HREF=../syscall/mkdir.html>mkdir</A>
  34. <li> <A HREF=../syscall/rmdir.html>rmdir</A>
  35. <li> <A HREF=../syscall/remove.html>remove</A>
  36. <li> <A HREF=../syscall/_exit.html>_exit</A>
  37. </ul>
  38. f_test should run correctly once the file system assignment is complete.
  39. </body>
  40. </html>