diff options
author | Ryan Zoeller <rtzoeller@rtzoeller.com> | 2021-12-26 20:14:50 -0600 |
---|---|---|
committer | Ryan Zoeller <rtzoeller@rtzoeller.com> | 2021-12-26 20:14:50 -0600 |
commit | 57f41a8898e80f220d231136e26193db77388c03 (patch) | |
tree | 8a064d923e45614a21b8a8cb9bd3029b9fdfca87 /test/sys | |
parent | a392647f450f88bf4a162135712ea023e8da3b1a (diff) | |
download | nix-57f41a8898e80f220d231136e26193db77388c03.zip |
Fix typos
Diffstat (limited to 'test/sys')
-rw-r--r-- | test/sys/test_ptrace.rs | 2 | ||||
-rw-r--r-- | test/sys/test_sockopt.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/sys/test_ptrace.rs b/test/sys/test_ptrace.rs index 83fff9a5..89c4e2dd 100644 --- a/test/sys/test_ptrace.rs +++ b/test/sys/test_ptrace.rs @@ -72,7 +72,7 @@ fn test_ptrace_cont() { let _m = crate::FORK_MTX.lock(); // FIXME: qemu-user doesn't implement ptrace on all architectures - // and retunrs ENOSYS in this case. + // and returns ENOSYS in this case. // We (ab)use this behavior to detect the affected platforms // and skip the test then. // On valid platforms the ptrace call should return Errno::EPERM, this diff --git a/test/sys/test_sockopt.rs b/test/sys/test_sockopt.rs index 01920fd4..59b97c8b 100644 --- a/test/sys/test_sockopt.rs +++ b/test/sys/test_sockopt.rs @@ -122,7 +122,7 @@ fn test_so_tcp_maxseg() { } // The CI doesn't supported getsockopt and setsockopt on emulated processors. -// It's beleived that a QEMU issue, the tests run ok on a fully emulated system. +// It's believed that a QEMU issue, the tests run ok on a fully emulated system. // Current CI just run the binary with QEMU but the Kernel remains the same as the host. // So the syscall doesn't work properly unless the kernel is also emulated. #[test] |