Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestUnshareMountNameSpace (0.24 sec)

  1. src/syscall/exec_linux_test.go

    	if !strings.HasPrefix(strOut, expected) {
    		t.Errorf("expected prefix: %q", expected)
    	}
    }
    
    // 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 indicating a test skip.
    	if os.Getenv("GO_WANT_HELPER_PROCESS") == "1" {
    		dir := flag.Args()[0]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 07:45:37 UTC 2024
    - 20.6K bytes
    - Viewed (0)
Back to top