Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 5,215 for TXT (0.05 sec)

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

    go mod vendor
    cmp vendor/example.com/a/samedir_embed.txt a/samedir_embed.txt
    cmp vendor/example.com/a/subdir/embed.txt a/subdir/embed.txt
    cmp vendor/example.com/a/subdir/test/embed.txt a/subdir/test/embed.txt
    cmp vendor/example.com/a/subdir/test/xtest/embed.txt a/subdir/test/xtest/embed.txt
    
    cd broken_no_matching_files
    ! go mod vendor
    stderr '^go: resolving embeds in example.com/brokendep: pattern foo.txt: no matching files found$'
    go mod vendor -e
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:14:55 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/mod_why.txt

    go mod why golang.org/x/text/language
    cmp stdout why-language.txt
    
    # why a module?
    go mod why -m golang.org...
    cmp stdout why-text-module.txt
    
    # why a package used only in tests?
    go mod why rsc.io/testonly
    cmp stdout why-testonly.txt
    
    # why a module used only in a test of a dependency?
    go mod why -m rsc.io/testonly
    cmp stdout why-testonly.txt
    
    # test package not needed
    go mod why golang.org/x/text/unused
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 22 16:52:00 UTC 2020
    - 2.6K bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/cover_build_pkg_select.txt

    # The whole enchilada.
    go tool covdata textfmt -i=$WORK/covdata -o=$WORK/covdata/out.txt
    grep 'mode: set' $WORK/covdata/out.txt
    grep 'mod.example/main/main.go:' $WORK/covdata/out.txt
    grep 'mod.example/sub/sub.go:' $WORK/covdata/out.txt
    grep 'rsc.io' $WORK/covdata/out.txt
    grep 'bufio/bufio.go:' $WORK/covdata/out.txt
    
    # Use the covdata tool to select a specific set of module paths
    mkdir $WORK/covdata2
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 28 11:50:58 UTC 2022
    - 2.7K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/install_modcacherw_issue64282.txt

    	# of a directory within the module cache.
    cp $WORK/extraneous.txt $GOPATH/pkg/mod/example.com/printversion@v0.1.0/extraneous_file.go
    go clean -modcache
    
    
    ! go install -unknownflag -tags -modcacherw example.com/printversion@v0.1.0
    stderr '^flag provided but not defined: -unknownflag$'
    cp $WORK/extraneous.txt $GOPATH/pkg/mod/example.com/printversion@v0.1.0/extraneous_file.go
    go clean -modcache
    
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 29 17:53:43 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/build_dash_x.txt

    go build -x -o main main.go
    cp stderr commands.txt
    cat header.txt commands.txt
    cp stdout test.sh
    
    exec ./main
    cmp stderr hello.txt
    rm ./main
    
    exec /usr/bin/env bash -x test.sh
    exec ./main
    cmp stderr hello.txt
    
    grep '^WORK=(.*)\n' commands.txt
    
    -- main.go --
    package main
    
    import "C"
    
    func main() {
    	print("hello\n")
    }
    -- header.txt --
    set -e
    -- hello.txt --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:18:10 UTC 2022
    - 1.1K bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/mod_vendor_auto.txt

    # between the go.mod file and vendor/modules.txt.
    # A 'go 1.13' vendor/modules.txt file is not usually sufficient
    # to pass those checks.
    go mod edit -go=1.14
    
    ! go list -f {{.Dir}} -tags tools all
    stderr '^go: inconsistent vendoring in '$WORK[/\\]auto':$'
    stderr '^\texample.com/printversion@v1.0.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 15:21:14 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/cover_error.txt

    # Get errors from a go test into stderr.txt
    ! go test coverbad
    stderr 'p\.go:4:2' # look for error at coverbad/p.go:4
    [cgo] stderr 'p1\.go:6:2' # look for error at coverbad/p.go:6
    ! stderr $WORK # make sure temporary directory isn't in error
    
    cp stderr $WORK/stderr.txt
    
    # Get errors from coverage into stderr2.txt
    ! go test -cover coverbad
    cp stderr $WORK/stderr2.txt
    
    wait # for go run above
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 01 14:12:36 UTC 2022
    - 712 bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/cgo_path_space.txt

    ! go build -x
    ! exists $WORK/log.txt
    
    -- go.mod --
    module m
    
    -- m.go --
    package m
    
    // #define X 1
    import "C"
    
    -- $WORK/program files/gcc --
    #!/bin/sh
    
    echo ok >$WORK/log.txt
    -- $WORK/program files/clang --
    #!/bin/sh
    
    echo ok >$WORK/log.txt
    -- $WORK/program files/gcc.bat --
    echo ok >%WORK%\log.txt
    -- $WORK/program files/clang.bat --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 1.6K bytes
    - Viewed (0)
  9. src/cmd/go/testdata/script/cgo_path.txt

    import "C"
    
    -- p/gcc --
    #!/bin/sh
    echo ran gcc >bug.txt
    -- p/clang --
    #!/bin/sh
    echo ran clang >bug.txt
    -- p/gcc.bat --
    echo ran gcc >bug.txt
    -- p/clang.bat --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 04 17:09:07 UTC 2023
    - 952 bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/build_issue6480.txt

    exec $GOBIN/now
    cp stdout start_time.txt
    go test -x -c -test.bench=XXX errors
    ! stderr '[\\/]link|gccgo' # make sure up-to-date test binary is not relinked
    exec $GOBIN/mtime errors.test$GOEXE
    cp stdout errors1_mod_time.txt
    exec $GOBIN/before start_time.txt errors1_mod_time.txt
    rm start_time.txt errors1_mod_time.txt
    
    # Check errors2.test mtime is updated
    exec $GOBIN/now
    cp stdout start_time.txt
    go test -x -c -o errors2.test errors
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 2.7K bytes
    - Viewed (0)
Back to top