[cs631apue] Using the test script

Marlon Seaton mseaton at stevens.edu
Thu Sep 13 01:58:25 EDT 2018


My question involves running the test script file to test my code. I copied the contents of the script file into the same directory with the other programs. I typed the following:

./testcp.sh ./tcp file1 file3

I am getting the following message:
Usage: ./testcp.sh [-hv] -p program
         -h          print this help and exit
         -p program  test given program
         -v          be verbose

I have looked this up online. What am I doing wrong?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.stevens.edu/pipermail/cs631apue/attachments/20180913/d4a7f77a/attachment.html>

More information about the cs631apue mailing list