[cs631apue] TestCP Script Issue

Shivam Sheth ssheth7 at stevens.edu
Thu Sep 16 13:08:27 EDT 2021


The test script I'm using<https://stevens.netmeister.org/631/testcp.sh> does not have a "-x" option, only the -h, -p, and -v options.

Also, regarding the machine our code will be tested on, how much memory will it have? My copy program was able to copy the big file with 4096MB of memory, but not with 1024MB.

Thanks,
Shivam

________________________________
From: cs631apue-bounces at lists.stevens.edu <cs631apue-bounces at lists.stevens.edu> on behalf of Jan Schaumann <jschauma at stevens.edu>
Sent: Wednesday, September 15, 2021 11:00 PM
To: cs631apue at lists.stevens.edu <cs631apue at lists.stevens.edu>
Subject: Re: [cs631apue] TestCP Script Issue

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
_______________________________________________
cs631apue mailing list
cs631apue at lists.stevens.edu
https://lists.stevens.edu/mailman/listinfo/cs631apue
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.stevens.edu/pipermail/cs631apue/attachments/20210916/3ea3d7a8/attachment.html>


More information about the cs631apue mailing list