Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 95 for PWD (0.25 sec)

  1. logger/sql_test.go

    	type role string
    	type password []byte
    	type intType int
    	type floatType float64
    	var (
    		tt                 = now.MustParse("2020-02-23 11:10:10")
    		myrole             = role("admin")
    		pwd                = password("pass")
    		jsVal              = []byte(`{"Name":"test","Val":"test"}`)
    		js                 = JSON(jsVal)
    		esVal              = []byte(`{"Name":"test","Val":"test"}`)
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Thu Mar 21 08:00:02 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  2. src/internal/testenv/testenv_test.go

    	// Test that CleanCmdEnv sets PWD if cmd.Dir is set.
    	switch runtime.GOOS {
    	case "plan9", "windows":
    		t.Skipf("PWD is not used on %s", runtime.GOOS)
    	}
    	dir := t.TempDir()
    	cmd := testenv.Command(t, testenv.GoToolPath(t), "help")
    	cmd.Dir = dir
    	cmd = testenv.CleanCmdEnv(cmd)
    
    	for _, env := range cmd.Env {
    		if strings.HasPrefix(env, "PWD=") {
    			pwd := strings.TrimPrefix(env, "PWD=")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 25 23:12:44 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  3. src/cmd/dist/exec.go

    package main
    
    import (
    	"os/exec"
    	"strings"
    )
    
    // setDir sets cmd.Dir to dir, and also adds PWD=dir to cmd's environment.
    func setDir(cmd *exec.Cmd, dir string) {
    	cmd.Dir = dir
    	if cmd.Env != nil {
    		// os/exec won't set PWD automatically.
    		setEnv(cmd, "PWD", dir)
    	}
    }
    
    // setEnv sets cmd.Env so that key = value.
    func setEnv(cmd *exec.Cmd, key, value string) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 20 21:52:09 UTC 2023
    - 957 bytes
    - Viewed (0)
  4. buildscripts/resolve-right-versions.sh

    #!/bin/bash -e
    
    set -E
    set -o pipefail
    set -x
    set -e
    
    WORK_DIR="$PWD/.verify-$RANDOM"
    MINIO_CONFIG_DIR="$WORK_DIR/.minio"
    MINIO=("$PWD/minio" --config-dir "$MINIO_CONFIG_DIR" server)
    
    if [ ! -x "$PWD/minio" ]; then
    	echo "minio executable binary not found in current directory"
    	exit 1
    fi
    
    function start_minio_5drive() {
    	start_port=$1
    
    	export MINIO_ROOT_USER=minio
    	export MINIO_ROOT_PASSWORD=minio123
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Aug 16 14:51:33 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  5. buildscripts/rewrite-old-new.sh

    #!/bin/bash -e
    
    set -E
    set -o pipefail
    set -x
    
    WORK_DIR="$PWD/.verify-$RANDOM"
    MINIO_CONFIG_DIR="$WORK_DIR/.minio"
    MINIO_OLD=("$PWD/minio.RELEASE.2020-10-28T08-16-50Z" --config-dir "$MINIO_CONFIG_DIR" server)
    MINIO=("$PWD/minio" --config-dir "$MINIO_CONFIG_DIR" server)
    
    if [ ! -x "$PWD/minio" ]; then
    	echo "minio executable binary not found in current directory"
    	exit 1
    fi
    
    function download_old_release() {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon May 27 19:17:46 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  6. hack/update-go-workspace.sh

    # This script generates go.work so that it includes all Go packages
    # in this repo, with a few exceptions.
    
    set -o errexit
    set -o nounset
    set -o pipefail
    
    # Go tools really don't like it if you have a symlink in `pwd`.
    cd "$(pwd -P)"
    
    KUBE_ROOT=$(dirname "${BASH_SOURCE[0]}")/..
    source "${KUBE_ROOT}/hack/lib/init.sh"
    
    # This sets up the environment, like GOCACHE, which keeps the worktree cleaner.
    kube::golang::setup_env
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Mar 10 15:44:10 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  7. buildscripts/verify-healing-empty-erasure-set.sh

    #!/bin/bash -e
    #
    
    set -E
    set -o pipefail
    
    if [ ! -x "$PWD/minio" ]; then
    	echo "minio executable binary not found in current directory"
    	exit 1
    fi
    
    WORK_DIR="$PWD/.verify-$RANDOM"
    MINIO_CONFIG_DIR="$WORK_DIR/.minio"
    MINIO=("$PWD/minio" --config-dir "$MINIO_CONFIG_DIR" server)
    
    function start_minio_3_node() {
    	export MINIO_ROOT_USER=minio
    	export MINIO_ROOT_PASSWORD=minio123
    	export MINIO_ERASURE_SET_DRIVE_COUNT=6
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 31 14:48:50 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  8. test/linkobj.go

    // Test the compiler -linkobj flag.
    
    package main
    
    import (
    	"fmt"
    	"io/ioutil"
    	"log"
    	"os"
    	"os/exec"
    	"strings"
    )
    
    var pwd, tmpdir string
    
    func main() {
    	dir, err := ioutil.TempDir("", "go-test-linkobj-")
    	if err != nil {
    		log.Fatal(err)
    	}
    	pwd, err = os.Getwd()
    	if err != nil {
    		log.Fatal(err)
    	}
    	if err := os.Chdir(dir); err != nil {
    		os.RemoveAll(dir)
    		log.Fatal(err)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  9. tools/certs/Makefile.k8s.mk

    ##fetch-root-ca:	fetch root CA  and key from a k8s cluster.
    .PHONY: fetch-root-ca
    rawcluster := $(shell kubectl config current-context)
    cluster := $(subst /,-,$(rawcluster))
    pwd := $(shell pwd)
    export KUBECONFIG
    
    fetch-root-ca:
    	@echo "fetching root ca from k8s cluster: "$(cluster)""
    	@mkdir -p $(pwd)/$(cluster)
    	@res=$$(kubectl get secret istio-ca-secret -n $(ISTIO_NAMESPACE) >/dev/null 2>&1; echo $$?); \
    	if [ $$res -eq 1 ]; then \
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Dec 27 13:15:29 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  10. buildscripts/verify-healing.sh

    #!/bin/bash -e
    #
    
    set -E
    set -o pipefail
    
    if [ ! -x "$PWD/minio" ]; then
    	echo "minio executable binary not found in current directory"
    	exit 1
    fi
    
    WORK_DIR="$PWD/.verify-$RANDOM"
    MINIO_CONFIG_DIR="$WORK_DIR/.minio"
    MINIO=("$PWD/minio" --config-dir "$MINIO_CONFIG_DIR" server)
    GOPATH=/tmp/gopath
    
    function start_minio_3_node() {
    	for i in $(seq 1 3); do
    		rm "${WORK_DIR}/dist-minio-server$i.log"
    	done
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon May 27 19:17:46 UTC 2024
    - 4.3K bytes
    - Viewed (0)
Back to top