home *** CD-ROM | disk | FTP | other *** search
- #! /bin/csh
- ########################################################
- # Script file to exercise the PS-NFS daemon test program
- ########################################################
- #
- # The name of the PC-NFS server, or localhost if same machine
- #
- setenv SERVER localhost
- #
- # The name of the test machine, or localhost if same machine
- #
- setenv HOST localhost
- #
- # The name of a printer on the server, or the following for the default
- #
- setenv PRINTER `lpstat -d | sed s/'system default destination: '//`
- #
- # The name a valid user on the server machine
- #
- setenv TEST_USER guest
- #
- # The password for the above user, or "\n" if none
- #
- setenv PASSWORD "\n"
- #
- # The name for the test log file
- #
- setenv LOGFILE clnt.pcnfsd.log
- #
- # Run the program with the above parameters
- #
- ./clnt.pcnfsd $SERVER $HOST $PRINTER $TEST_USER $PASSWORD >$LOGFILE
- #
- # Display the test results
- #
- more $LOGFILE
-