From c3982b7c043effcfa897086a221567c035603352 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Tue, 28 Jun 2011 23:32:26 +0000 Subject: t0044: do not assume setsockopt() finished Race conditions abound in the world of concurrency! --- t/t0044-autopush.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 't') diff --git a/t/t0044-autopush.sh b/t/t0044-autopush.sh index 5017067..9faa61a 100644 --- a/t/t0044-autopush.sh +++ b/t/t0044-autopush.sh @@ -49,8 +49,8 @@ check_TCP_CORK () { done test 2 -eq $(grep TCP_CORK $strace_out | wc -l) - fgrep 'SOL_TCP, TCP_CORK, [0], 4) = 0' $strace_out - fgrep 'SOL_TCP, TCP_CORK, [1], 4) = 0' $strace_out + fgrep 'SOL_TCP, TCP_CORK, [0],' $strace_out + fgrep 'SOL_TCP, TCP_CORK, [1],' $strace_out } t_begin "setup and start" && { -- cgit v1.2.3-24-ge0c7