aboutsummaryrefslogtreecommitdiff
path: root/src/syscall/exec_linux_test.go
diff options
context:
space:
mode:
authorguoguangwu <guoguangwu@magic-shield.com>2024-02-24 10:29:13 +0000
committerGopher Robot <gobot@golang.org>2024-02-27 16:40:42 +0000
commit269e0df5f315bd24943d2607bed7b7c0200037e9 (patch)
tree4a7db1c5906275e39a94f7aed69f3a67e0ced93e /src/syscall/exec_linux_test.go
parent72743ca86c5d8c750f9a0132680bf45fde048429 (diff)
downloadgo-269e0df5f315bd24943d2607bed7b7c0200037e9.tar.xz
syscall: fix typo in comment
Change-Id: I1804315fd3ec50ab1e3f480efd92c59e36fd47d0 GitHub-Last-Rev: 07d969ab71eabfe7034b62f45a1f4058b66ee014 GitHub-Pull-Request: golang/go#65921 Reviewed-on: https://go-review.googlesource.com/c/go/+/566615 Auto-Submit: Ian Lance Taylor <iant@google.com> Reviewed-by: Ian Lance Taylor <iant@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Tobias Klauser <tobias.klauser@gmail.com> Reviewed-by: Emmanuel Odeke <emmanuel@orijtech.com> Reviewed-by: Carlos Amedee <carlos@golang.org>
Diffstat (limited to 'src/syscall/exec_linux_test.go')
-rw-r--r--src/syscall/exec_linux_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/syscall/exec_linux_test.go b/src/syscall/exec_linux_test.go
index 68ec6fe3f8..5ec1a24ba4 100644
--- a/src/syscall/exec_linux_test.go
+++ b/src/syscall/exec_linux_test.go
@@ -219,7 +219,7 @@ func TestGroupCleanupUserNamespace(t *testing.T) {
// Test for https://go.dev/issue/19661: unshare fails because systemd
// has forced / to be shared
func TestUnshareMountNameSpace(t *testing.T) {
- const mountNotSupported = "mount is not supported: " // Output prefix indicatating a test skip.
+ const mountNotSupported = "mount is not supported: " // Output prefix indicating a test skip.
if os.Getenv("GO_WANT_HELPER_PROCESS") == "1" {
dir := flag.Args()[0]
err := syscall.Mount("none", dir, "proc", 0, "")
@@ -273,7 +273,7 @@ func TestUnshareMountNameSpace(t *testing.T) {
// Test for Issue 20103: unshare fails when chroot is used
func TestUnshareMountNameSpaceChroot(t *testing.T) {
- const mountNotSupported = "mount is not supported: " // Output prefix indicatating a test skip.
+ const mountNotSupported = "mount is not supported: " // Output prefix indicating a test skip.
if os.Getenv("GO_WANT_HELPER_PROCESS") == "1" {
dir := flag.Args()[0]
err := syscall.Mount("none", dir, "proc", 0, "")