diff options
author | Ian Gudger <igudger@google.com> | 2018-10-17 13:24:52 -0700 |
---|---|---|
committer | Shentubot <shentubot@google.com> | 2018-10-17 13:25:45 -0700 |
commit | 8c85f5e9ce1d7e25010ac295006555a46034bc39 (patch) | |
tree | 40ac17fb3de10ff896a3dbe486c1477c8cb58981 /pkg/sentry | |
parent | 8fa6f6fe769ede042b651e5b82bd93721e3aa339 (diff) |
Fix typos in socket_test
PiperOrigin-RevId: 217576188
Change-Id: I82e45c306c5c9161e207311c7dbb8a983820c1df
Diffstat (limited to 'pkg/sentry')
-rw-r--r-- | pkg/sentry/fs/host/socket_test.go | 6 |
1 files 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]) } } |