Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 20 for globalWindowsOSName (0.4 sec)

  1. cmd/globals.go

    	globalMinioDefaultOwnerID      = "02d6176db174dc93cb1b899f7c6078f08654445fe8cf1b6ce98d8855f66bdbf4"
    	globalMinioDefaultStorageClass = "STANDARD"
    	globalWindowsOSName            = "windows"
    	globalMacOSName                = "darwin"
    	globalMinioModeFS              = "mode-server-fs"
    	globalMinioModeErasureSD       = "mode-server-xl-single"
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 30 11:58:12 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  2. cmd/object-api-utils_test.go

    		b.ResetTimer()
    		b.ReportAllocs()
    
    		for i := 0; i < b.N; i++ {
    			pathJoin("volume", "path/path/path")
    		}
    	})
    }
    
    // Wrapper
    func TestPathTraversalExploit(t *testing.T) {
    	if runtime.GOOS != globalWindowsOSName {
    		t.Skip()
    	}
    	defer DetectTestLeak(t)()
    	ExecExtendedObjectLayerAPITest(t, testPathTraversalExploit, []string{"PutObject"})
    }
    
    // testPathTraversal exploit test, exploits path traversal on windows
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  3. cmd/common-main.go

    	}
    
    	return server, nil
    }
    
    // Check for updates and print a notification message
    func checkUpdate(mode string) {
    	updateURL := minioReleaseInfoURL
    	if runtime.GOOS == globalWindowsOSName {
    		updateURL = minioReleaseWindowsInfoURL
    	}
    
    	u, err := url.Parse(updateURL)
    	if err != nil {
    		return
    	}
    
    	if currentReleaseTime.IsZero() {
    		return
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 30 11:58:12 UTC 2024
    - 31.5K bytes
    - Viewed (0)
  4. cmd/endpoint.go

    		// such as F:/, D:/ etc.
    		//
    		// Another additional benefit here is that this style also
    		// supports providing \\host\share support as well.
    		if runtime.GOOS == globalWindowsOSName {
    			if filepath.VolumeName(u.Path[1:]) != "" {
    				u.Path = u.Path[1:]
    			}
    		}
    
    	} else {
    		// Only check if the arg is an ip address and ask for scheme since its absent.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  5. cmd/object-api-multipart_test.go

    	"github.com/minio/minio/internal/ioutil"
    )
    
    // Wrapper for calling NewMultipartUpload tests for both Erasure multiple disks and single node setup.
    func TestObjectNewMultipartUpload(t *testing.T) {
    	if runtime.GOOS == globalWindowsOSName {
    		t.Skip()
    	}
    	ExecObjectLayerTest(t, testObjectNewMultipartUpload)
    }
    
    // Tests validate creation of new multipart upload instance.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 77.1K bytes
    - Viewed (0)
  6. cmd/xl-storage.go

    	// /usr/include/linux/limits.h
    	var count int64
    	for _, p := range pathName {
    		switch p {
    		case '/':
    			count = 0 // Reset
    		case '\\':
    			if runtime.GOOS == globalWindowsOSName {
    				count = 0
    			}
    		default:
    			count++
    			if count > 255 {
    				return errFileNameTooLong
    			}
    		}
    	} // Success.
    	return nil
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 85.3K bytes
    - Viewed (0)
  7. cmd/erasure-object_test.go

    	}
    }
    
    // Test reading an object with some outdated data in some disks
    func TestGetObjectWithOutdatedDisks(t *testing.T) {
    	if runtime.GOOS == globalWindowsOSName {
    		t.Skip()
    	}
    
    	ctx, cancel := context.WithCancel(context.Background())
    	defer cancel()
    
    	// Create an instance of xl backend.
    	obj, fsDirs, err := prepareErasure(ctx, 6)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jan 30 20:43:25 UTC 2024
    - 36.8K bytes
    - Viewed (0)
  8. cmd/admin-handlers.go

    	vars := mux.Vars(r)
    	updateURL := vars["updateURL"]
    	dryRun := r.Form.Get("dry-run") == "true"
    
    	mode := getMinioMode()
    	if updateURL == "" {
    		updateURL = minioReleaseInfoURL
    		if runtime.GOOS == globalWindowsOSName {
    			updateURL = minioReleaseWindowsInfoURL
    		}
    	}
    
    	u, err := url.Parse(updateURL)
    	if err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 98K bytes
    - Viewed (0)
  9. cmd/admin-handlers-users_test.go

    	})
    	if err != nil {
    		c.Fatalf("error creating user minio client: %s", err)
    	}
    	return client
    }
    
    func TestIAMInternalIDPServerSuite(t *testing.T) {
    	if runtime.GOOS == globalWindowsOSName {
    		t.Skip("windows is clunky disable these tests")
    	}
    	for i, testCase := range iamTestSuites {
    		t.Run(
    			fmt.Sprintf("Test: %d, ServerType: %s", i+1, testCase.ServerTypeDescription),
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 45.7K bytes
    - Viewed (0)
  10. cmd/server_test.go

    // and then asserting the response with the expected one.
    func (s *TestSuiteCommon) TestListObjectsSpecialCharactersHandler(c *check) {
    	if runtime.GOOS == globalWindowsOSName {
    		c.Skip("skip special character test for windows")
    	}
    
    	// generate a random bucket name.
    	bucketName := getRandomBucketName()
    	// HTTP request to create the bucket.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 115.3K bytes
    - Viewed (0)
Back to top