While ANET_ERR is -1, check syscall retval for -1 itself.
Redis Cluster test framework skeleton.