Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestUnshareMountNameSpaceChroot (0.2 sec)

  1. src/syscall/exec_linux_test.go

    	// on the rm will fail with EBUSY.
    	if err := os.Remove(d); err != nil {
    		t.Errorf("rmdir failed on %v: %v", d, err)
    	}
    }
    
    // Test for Issue 20103: unshare fails when chroot is used
    func TestUnshareMountNameSpaceChroot(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