[cs631apue] tcp Failure test failed [tcp file file2]

Runxi Ding rding6 at stevens.edu
Fri Sep 16 21:18:42 EDT 2016


when I use the testcp.sh to test my tcp.c. I got the following errors:

*1.*
===> Checking '/Users/sunny/test/cs631/a.out file file2'...
Expected failure, but command returned 0:
  /Users/sunny/test/cs631/a.out file file2
*2.*
===> Comparing '/etc/passwd' to 'file'...
Files '/etc/passwd' and 'file' differ.



However, I tried myself

*# /Users/sunny/test/cs631/a.out file file2*
Unable to open file: No such file or directory
*# echo $?*
1

I am not returning 0 on failure.

I even go to the created tmp folder
"/private/var/folders/sx/btkhtrrx01dfrmc1rffyc3rw0000gn/T/cptest.T6WRtU" to
run those commands, and find nothing wrong with my program.

For now, I don't have a clue. Thanks for your help. or If anyone who have a*
manual test method* please help.

Best Regards,

Runxi Ding
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.stevens.edu/pipermail/cs631apue/attachments/20160916/bb8fddf8/attachment.html>


More information about the cs631apue mailing list