Closed javieracevedo closed 2 years ago
if you check 6.desc
, you should know that the test for 6 is to test non-exist file. So 6.in
is supposed to not exist, and you should make sure your code can deal with this situation.
Oh I see. I was using perror()
to display the error message, which concatenates more information to the output string, so it was not matching with the expected string I think.
Thanks!
Hello, I ran the
test-wcat.sh
shell script and it returned the following output:I ran
wcat
myself and passedtests/6.out
as an argument and saw that it did return the right output. So, I openedtests/6.run
to see what is being run and noticed that it calls wcat withtests/6.in
as argument, but I don't see that file there, I do see .in files for the other tests, but not for test 6. Am I missing something?.Thanks!