Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 140 for PWD (0.04 sec)

  1. src/cmd/go/testdata/script/list_gomod_in_gopath.txt

    # Issue 46119
    
    # When a module is inside a GOPATH workspace, Package.Root should be set to
    # Module.Dir instead of $GOPATH/src.
    
    env GOPATH=$WORK/tmp
    cd $WORK/tmp/src/test
    
    go list -f {{.Root}}
    stdout ^$PWD$
    
    # Were we really inside a GOPATH workspace?
    env GO111MODULE=off
    go list -f {{.Root}}
    stdout ^$WORK/tmp$
    
    -- $WORK/tmp/src/test/go.mod --
    module test
    
    -- $WORK/tmp/src/test/main.go --
    package main
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 14 16:15:28 UTC 2021
    - 421 bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/mod_alt_goroot.txt

    # It should not override packages in GOROOT, but should not fail the command.
    # See golang.org/issue/30756.
    go list -e -deps -f '{{.ImportPath}} {{.Dir}}' ./bytes
    stdout ^std/bytes.*$PWD[/\\]bytes
    stdout '^bytes/modified'
    
    -- go.mod --
    module std
    
    go 1.12
    -- bytes/bytes.go --
    package bytes
    
    import _"bytes/modified"
    -- bytes/modified/modified.go --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 12 20:10:13 UTC 2019
    - 535 bytes
    - Viewed (0)
  3. src/cmd/compile/profile.sh

    dir=$(mktemp -d)
    cd $dir
    seed=$(date)
    
    for p in $(go list std cmd); do
    	h=$(echo $seed $p | md5sum | cut -d ' ' -f 1)
    	echo $p $h
    	go build -o /dev/null -gcflags=-cpuprofile=$PWD/prof.$h $p
    done
    
    go tool pprof -proto prof.* > $(go env GOROOT)/src/cmd/compile/default.pgo
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 23 17:31:10 UTC 2023
    - 588 bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/cover_test_localpkg_filepath.txt

    [short] skip
    
    # collect coverage profile in text format
    go test -coverprofile=blah.prof prog.go prog_test.go
    
    # should not contain cmd-line pseudo-import-path
    grep prog.go blah.prof
    grep $PWD blah.prof
    ! grep command-line-arguments blah.prof
    
    -- prog.go --
    package main
    
    func Mumble(x int) int {
    	if x < 0 {
    		return -x
    	}
    	return 42
    }
    
    func Grumble(y int) int {
    	return -y
    }
    
    func main() {
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 01 14:11:54 UTC 2022
    - 571 bytes
    - Viewed (0)
  5. build/pause/Makefile

    	mkdir -p bin
    	docker run --rm -u $$(id -u):$$(id -g) -v $$(pwd):/build \
    		$(KUBE_CROSS_IMAGE):$(KUBE_CROSS_VERSION) \
    		/bin/bash -c "\
    			cd /build && \
    			$(TRIPLE)-gcc $(CFLAGS) -o $@ $^ && \
    			$(TRIPLE)-strip $(foreach binary, $@, ${binary}${EXTENSION})"
    
    bin/wincat-windows-${ARCH}: windows/wincat/wincat.go
    	mkdir -p bin
    	docker run --rm -u $$(id -u):$$(id -g) -v $$(pwd):/build \
    		--tmpfs /.cache \
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 19:31:40 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  6. buildscripts/verify-build.sh

    #!/bin/bash
    #
    
    set -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"
    
    export MINT_MODE=core
    export MINT_DATA_DIR="$WORK_DIR/data"
    export SERVER_ENDPOINT="127.0.0.1:9000"
    export MC_HOST_verify="http://minio:minio123@${SERVER_ENDPOINT}/"
    export MC_HOST_verify_ipv6="http://minio:minio123@[::1]:9000/"
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 19:28:51 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  7. fuzzing/fuzzingserver-test.sh

    #!/usr/bin/env bash
    
    SCRIPT_DIR="$( cd "$( dirname "$0" )" && pwd )"
    cd "$SCRIPT_DIR"
    
    which wstest
    if [ $? != 0 ]; then
      echo "Run 'pip install autobahntestsuite', maybe with 'sudo'."
      exit 1
    fi
    which jq
    if [ $? != 0 ]; then
      echo "Run 'brew install jq'"
      exit 1
    fi
    
    trap 'kill $(jobs -pr)' SIGINT SIGTERM EXIT
    
    set -ex
    
    wstest -m fuzzingserver -s fuzzingserver-config.json &
    sleep 2 # wait for wstest to start
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Tue Mar 26 02:01:32 UTC 2019
    - 673 bytes
    - Viewed (0)
  8. src/os/exec/example_test.go

    	if err != nil {
    		log.Fatal(err)
    	}
    	fmt.Printf("%s\n", stdoutStderr)
    }
    
    func ExampleCmd_Environ() {
    	cmd := exec.Command("pwd")
    
    	// Set Dir before calling cmd.Environ so that it will include an
    	// updated PWD variable (on platforms where that is used).
    	cmd.Dir = ".."
    	cmd.Env = append(cmd.Environ(), "POSIXLY_CORRECT=1")
    
    	out, err := cmd.Output()
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 07 06:18:48 UTC 2022
    - 3.5K bytes
    - Viewed (0)
  9. src/cmd/go/testdata/script/work_issue51204.txt

    go work sync
    
    go list -f '{{.Dir}}' example.com/test
    stdout '^'$PWD${/}test'$'
    
    -- go.work --
    go 1.18
    
    use (
    	./test2
    	./test2/sub
    )
    -- test/go.mod --
    module example.com/test
    
    go 1.18
    -- test/file.go --
    package test
    
    func DoSomething() {
    }
    -- test2/go.mod --
    module example.com/test2
    
    go 1.18
    
    replace example.com/test => ../test
    
    require example.com/test v0.0.0-00010101000000-000000000000
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 15 22:28:43 UTC 2022
    - 749 bytes
    - Viewed (0)
  10. bin/update_ztunnel.sh

    # See the License for the specific language governing permissions and
    # limitations under the License.
    
    set -e
    
    UPDATE_BRANCH=${UPDATE_BRANCH:-"master"}
    
    SCRIPTPATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
    ROOTDIR=$(dirname "${SCRIPTPATH}")
    cd "${ROOTDIR}"
    
    # Get the sha of top commit
    # $1 = repo
    function getSha() {
      local dir result
      dir=$(mktemp -d)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 11 17:50:01 UTC 2023
    - 1.1K bytes
    - Viewed (0)
Back to top