home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Source Code 1993 July / THE_SOURCE_CODE_CD_ROM.iso / bsd_srcs / sys / tests / nfs / mac-tests / README < prev    next >
Encoding:
Text File  |  1989-12-29  |  1.8 KB  |  54 lines

  1. README
  2. 12/89
  3. brad@cayman.com
  4.  
  5. This is a simple attempt at a port of the "simple" nfs test suite to the
  6. macintosh.  It is intended to be compiled with the LightSpeed v3.0 C
  7. compiler on the Macintosh.
  8.  
  9. -rw-------  1 brad       247677 Dec 28 14:13 Mac-Cthon.sit.hqx
  10. -rw-------  1 brad         1878 Dec 28 14:10 README
  11. -rw-------  1 brad       159507 Dec 28 15:12 StuffIt 1.5.1.hqx
  12. -rw-------  1 brad        27565 Dec 28 15:12 tar.hqx
  13.  
  14. The tar file contains the source files. Any files with resource forks
  15. are invalid. The tar program I used only deals with data forks.
  16.  
  17. The "Mac-Cthon.sit" is a binary data file created by "stuffit" which
  18. contains the files with resource forks.
  19.  
  20. To unpack this:
  21.  
  22. 1. find a copy of binhex, stuffit or what ever will unpack a ".hqx" file
  23.  
  24. 2. copy the the three ".hqx" files, the ".sit" file and the ".tar" file
  25. to your macintosh. You can use NCSA telnet's ftp, aufs, or whatever
  26.  
  27. 3. "binhex" the tar.hqx and stuffit.hqx files. This will create two
  28. new applications, "tar" and "stuffit"
  29.  
  30. 4. Run tar and "extract" the ".tar" file. This will unpack the source files
  31.  
  32. 5. Move the ".sit" file into the folder ("Mac-Connectathon") created by
  33. tar when you extracted the files. (step 4 above)
  34.  
  35. 6. Run stuffit on the ".sit" file (double click on the ".sit" file or
  36. run stuffit and select "open" and select the ".sit" file)
  37.  
  38. 7. extract all of the files in the ".sit" file
  39.  
  40. 8. At this point you should be able to run the executable ("basic-test-0.24")
  41. or run the LightSpeed project and change the source/
  42.  
  43. ---
  44.  
  45. The test will pop up an "SFPutFile" dialog when you first run it.
  46. Press the "drive" button to select the volume you wish to exercise
  47. (most likely, your nfs volume)
  48.  
  49. After that, the test is on auto pilot.  Selecting individual tests
  50. is done by changing the source code. Take a look at main.c; there is a
  51. simple macro to turn tests on and off.
  52.  
  53. -brad
  54.