os: fix typo in test

Signed-off-by: guoguangwu <guoguangwug@gmail.com>
This commit is contained in:
guoguangwu 2024-03-24 20:02:25 +08:00
parent a6ecdf29e3
commit 02c18c2777
1 changed files with 1 additions and 1 deletions

View File

@ -424,7 +424,7 @@ func testSpliceToTTY(t *testing.T, proto string, size int64) {
// to recreate the problem in the issue (#59041).
ttyFD, err := syscall.Open(ttyName, syscall.O_RDWR, 0)
if err != nil {
t.Skipf("skipping test becaused failed to open tty: %v", err)
t.Skipf("skipping test because failed to open tty: %v", err)
}
defer syscall.Close(ttyFD)