test: Use universal tools for a given OS
test: Use universal tools for a given OS

There is no /proc/net/tcp in FreeBSD.
Instead of relying on Linux specific /proc/ file
use standard socket tools for a given OS.

Signed-off-by: Tadeusz Struk <ac7da5bc34fbda078ba4af5ef710d2a59a2316f5@intel.com>

01org/tpm2.0-tools,01org/tpm2.0-tools,01org/tpm2.0-tools