rmdirtest.html 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. <html>
  2. <head>
  3. <title>rmdirtest</title>
  4. <body bgcolor=#ffffff>
  5. <h2 align=center>rmdirtest</h2>
  6. <h4 align=center>OS/161 Reference Manual</h4>
  7. <h3>Name</h3>
  8. rmdirtest - test removing in-use directories
  9. <h3>Synopsis</h3>
  10. /testbin/rmdirtest
  11. <h3>Description</h3>
  12. rmdirtest creates a test directory, goes into it, removes it, and
  13. attempts to do various operations on it. It tries to check that the
  14. right things happen, although some cases are beyond its ability to
  15. test directly (such as whether storage is leaked).
  16. <p>
  17. Note that while it is not legal to remove the `.' <em>entry</em> in a
  18. directory, it is perfectly legal to remove a directory by name that
  19. happens to be some process's (or your own) current working directory.
  20. <p>
  21. <h3>Requirements</h3>
  22. rmdirtest uses the following system calls:
  23. <ul>
  24. <li> <A HREF=../syscall/chdir.html>chdir</A>
  25. <li> <A HREF=../syscall/close.html>close</A>
  26. <li> <A HREF=../syscall/__getcwd.html>__getcwd</A>
  27. <li> <A HREF=../syscall/getdirentry.html>getdirentry</A>
  28. <li> <A HREF=../syscall/mkdir.html>mkdir</A>
  29. <li> <A HREF=../syscall/open.html>open</A>
  30. <li> <A HREF=../syscall/rmdir.html>rmdir</A>
  31. <li> <A HREF=../syscall/write.html>write</A>
  32. <li> <A HREF=../syscall/_exit.html>_exit</A>
  33. </ul>
  34. rmdirtest should run correctly once the file system assignment is
  35. complete.
  36. </body>
  37. </html>