Follow-up to r1004521:

Check the return code like in trunk r1089424.  As it is,
it normally bypasses the testcase and leaves the bound socket
open.


git-svn-id: https://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1551666 13f79535-47bb-0310-9956-ffa450edef68