[cs631apue] TestCP Script Issue

Jan Schaumann jschauma at stevens.edu
Wed Sep 15 23:00:13 EDT 2021


Timothy Wang <twang77 at stevens.edu> wrote:
 
> ===> Checking '/home/twang77/hw/01/a.out /etc/passwd file'...
> Expected success, but command failed:
>   /home/twang77/hw/01/a.out /etc/passwd file

The verbose output should have included a line saying
"Test case ...", which would provide you with the
specific test it was running.  That can help you pin
point what specific failure you're encountering.

If that doesn't help, you can also run the test with
the '-x' flag, to see all the commands that are being
run.  That, too, should help you see what is
happening.

-Jan


More information about the cs631apue mailing list