test-sync: do a second recv only when SA_RESTART was passed
authorDjalal Harouni <tixxdz@opendz.org>
Wed, 22 Oct 2014 10:22:45 +0000 (11:22 +0100)
committerDjalal Harouni <tixxdz@opendz.org>
Wed, 22 Oct 2014 10:22:45 +0000 (11:22 +0100)
commit1a9027bbe9f95726b3eda7307159f343f3a521d1
tree20f9c4ec764eb2de0b1ca334ece7702e0e3dc13e
parente6a30c826938a4ad0cdf55b5cb57d75540a235b8
test-sync: do a second recv only when SA_RESTART was passed

The test was working for all cases, but fix it to only check for the
SA_RESTART case.

Signed-off-by: Djalal Harouni <tixxdz@opendz.org>
test/test-sync.c