Closed anisrashidov closed 1 year ago
How make test works:
Could you be more specific please? So what I do is I run make test command and then I run individual commands for each functions like: ./aes enc test/key.txt test/iv.txt test/helloworld.txt. But I don't get it either
Only executing command make test
does automatically comparing diff between your output and expected result.
If you want to check each test case, following step would be better.
make
./aes enc test/key.txt test/iv.txt test/helloworld.txt
2.1 if you want to save your stdout, use redirection. (i.e., ./aes enc test/key.txt test/iv.txt test/helloworld.txt > test/helloworld.output
diff helloworld.output helloworld.expected
3.1. if you want to know exact byte value, use external tool like xxd
and please make your title with brief information about your question. It would be helpful for other students :D
Please open if you have more questions.
Name: Anis Rashidov
Could you explain me how make test works?? I don't get the comparison it makes and it's output is a little confusing.