From 8c85f5e9ce1d7e25010ac295006555a46034bc39 Mon Sep 17 00:00:00 2001 From: Ian Gudger Date: Wed, 17 Oct 2018 13:24:52 -0700 Subject: Fix typos in socket_test PiperOrigin-RevId: 217576188 Change-Id: I82e45c306c5c9161e207311c7dbb8a983820c1df --- pkg/sentry/fs/host/socket_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/sentry/fs/host/socket_test.go b/pkg/sentry/fs/host/socket_test.go index 1c6f9ddb1..483e99dd6 100644 --- a/pkg/sentry/fs/host/socket_test.go +++ b/pkg/sentry/fs/host/socket_test.go @@ -71,18 +71,18 @@ func TestSocketIsBlocking(t *testing.T) { t.Fatalf("newSocket(%v) failed => %v", pair[0], err) } defer sock.DecRef() - // Test that the socket now is non blocking. + // Test that the socket now is non-blocking. if fl, err = getFl(pair[0]); err != nil { t.Fatalf("getFl: fcntl(%v, GETFL) => %v", pair[0], err) } if fl&syscall.O_NONBLOCK != syscall.O_NONBLOCK { - t.Errorf("Expected socket %v to have becoming non blocking", pair[0]) + t.Errorf("Expected socket %v to have become non-blocking", pair[0]) } if fl, err = getFl(pair[1]); err != nil { t.Fatalf("getFl: fcntl(%v, GETFL) => %v", pair[1], err) } if fl&syscall.O_NONBLOCK == syscall.O_NONBLOCK { - t.Errorf("Did not expect socket %v to become non blocking", pair[1]) + t.Errorf("Did not expect socket %v to become non-blocking", pair[1]) } } -- cgit v1.2.3