Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 93 for PWD (0.03 sec)

  1. src/os/os_test.go

    			f0, err := Stat(".")
    			if err != nil {
    				t.Error(err)
    				return
    			}
    			pwd, err := Getwd()
    			if err != nil {
    				t.Errorf("Getwd: %v", err)
    				return
    			}
    			if pwd != d {
    				t.Errorf("Getwd() = %q, want %q", pwd, d)
    				return
    			}
    			f1, err := Stat(pwd)
    			if err != nil {
    				t.Error(err)
    				return
    			}
    			if !SameFile(f0, f1) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 83.1K bytes
    - Viewed (0)
  2. hack/apidiff.sh

    # - We need relative paths because we will invoke apidiff in
    #   different work trees.
    # - Must start with a dot.
    for (( i=0; i<${#targets[@]}; i++ )); do
        d="${targets[i]}"
        d=$(realpath -s --relative-to="$(pwd)" "${d}")
        if [ "${d}" != "." ]; then
            # sub-directories have to have a leading dot.
            d="./${d}"
        fi
        targets[i]="${d}"
    done
    
    # Must be a something that git can resolve to a commit.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 26 09:00:03 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  3. subprojects/core/src/testFixtures/groovy/org/gradle/process/ShellScript.groovy

                return addLine("echo $variableName=\$$variableName")
            }
    
            @Override
            Builder printWorkingDir() {
                return addLine("echo CWD=\$(pwd)")
            }
    
            @Override
            Builder withExitValue(int exitValue) {
                return addLine("exit $exitValue")
            }
    
            @Override
            protected String getScriptExtension() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun May 12 10:33:12 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  4. src/go/internal/gcimporter/gcimporter.go

    			listOnce.Do(func() {
    				cmd := exec.Command(filepath.Join(build.Default.GOROOT, "bin", "go"), "list", "-export", "-f", "{{.Export}}", pkgDir)
    				cmd.Dir = build.Default.GOROOT
    				cmd.Env = append(os.Environ(), "PWD="+cmd.Dir, "GOROOT="+build.Default.GOROOT)
    				var output []byte
    				output, err = cmd.Output()
    				if err != nil {
    					if ee, ok := err.(*exec.ExitError); ok && len(ee.Stderr) > 0 {
    						err = errors.New(string(ee.Stderr))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  5. hack/update-vendor.sh

    # See the License for the specific language governing permissions and
    # limitations under the License.
    
    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"
    
    # Get all the default Go environment.
    kube::golang::setup_env
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:07:08 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  6. common/Makefile.common.mk

    	@if [ "$(LICENSE_OVERRIDE)" != "LICENSE" ]; then\
    		rm $(TMP)/common-files/files/LICENSE;\
    	fi
    	@cp -a $(TMP)/common-files/files/* $(TMP)/common-files/files/.devcontainer $(TMP)/common-files/files/.gitattributes $(shell pwd)
    	@rm -fr $(TMP)/common-files
    	@$(or $(COMMONFILES_POSTPROCESS), true)
    
    check-clean-repo:
    	@common/scripts/check_clean_repo.sh
    
    tidy-docker:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 14:37:27 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  7. tests/util/leak/check.go

    //
    //	func TestMain(m *testing.M) {
    //	    leak.CheckMain(m)
    //	}
    //
    // Failures here are scoped to the package, not a specific test. To determine the source of the failure,
    // you can use the tool `go test -exec $PWD/tools/go-ordered-test ./my/package`. This runs each test individually.
    // If there are some tests that are leaky, you the Check method can be used on individual tests.
    func CheckMain(m TestingM) {
    	exitCode := m.Run()
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Dec 20 10:22:38 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  8. gradlew

    # This is normally unused
    # shellcheck disable=SC2034
    APP_BASE_NAME=${0##*/}
    # Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036)
    APP_HOME=$( cd "${APP_HOME:-./}" > /dev/null && pwd -P ) || exit
    
    # Use the maximum available, or set MAX_FD != -1 to use that value.
    MAX_FD=maximum
    
    warn () {
        echo "$*"
    } >&2
    
    die () {
        echo
        echo "$*"
        echo
        exit 1
    } >&2
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 11:20:16 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  9. integration-tests/gradle/gradlew

    # This is normally unused
    # shellcheck disable=SC2034
    APP_BASE_NAME=${0##*/}
    # Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036)
    APP_HOME=$( cd "${APP_HOME:-./}" > /dev/null && pwd -P ) || exit
    
    # Use the maximum available, or set MAX_FD != -1 to use that value.
    MAX_FD=maximum
    
    warn () {
        echo "$*"
    } >&2
    
    die () {
        echo
        echo "$*"
        echo
        exit 1
    } >&2
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Oct 31 19:07:19 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  10. src/cmd/go/go_test.go

    				tg.t.Fatalf("internal testsuite error: call to parallel with testdata in environment (%s)", e)
    			}
    		}
    	}
    	tg.inParallel = true
    	tg.t.Parallel()
    }
    
    // pwd returns the current directory.
    func (tg *testgoData) pwd() string {
    	tg.t.Helper()
    	wd, err := os.Getwd()
    	if err != nil {
    		tg.t.Fatalf("could not get working directory: %v", err)
    	}
    	return wd
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 81.1K bytes
    - Viewed (0)
Back to top