Hi,
I was trying to run the test scripts provided in the tcp/ directory. Example of the command I used for execution is as follows:
../../packetdrill/packetdrill -v cwnd-moderation-disorder-no-moderation.pkt
While most of the test seems to be running smoothly with slight modifications to the test scripts, some scripts, like the one in the above command are giving the following error:
cwnd-moderation-disorder-no-moderation.pkt:20: runtime error in code: can't find getsockopt to get sk_meminfo
I perused through the code and found the error originates in the code.c file of packet drill source. It seems the error is arising because the macro HAVE_SO_MEMINFO has been set to 1 in the platforms.h file.
I referred to some documentation online which suggested, I should set the macro to 0 to remove the error. But am not sure if that's the right way to proceed since the very purpose of tests might be undermined.
Has anyone else encountered the error? If yes, please guide me on how you have resolved the same. Also, it would be really helpful if someone could explain why I am encountering that error. The test scripts are begin run on Linux kernel 4.8.