Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 5,244 for txt2 (0.04 sec)

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

    mkdir bar
    cp foo/main.go bar/main.go
    cd bar
    go build -x -o a.exe main.go
    ! stderr ${/}compile$GOEXE
    
    go tool buildid a.exe
    cp stdout ../bar-buildid.txt
    go version a.exe
    cp stdout ../bar-version.txt
    cd ..
    
    cmp bar-buildid.txt foo-buildid.txt
    cmp bar-version.txt foo-version.txt
    cmp bar/a.exe foo/a.exe
    
    
    -- $WORK/tmp/foo/main.go --
    package main
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 06 16:46:09 UTC 2021
    - 1.3K bytes
    - Viewed (0)
  2. 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)
  3. src/cmd/go/testdata/script/list_json_fields.txt

    # Test -json=false produces non-json output.
    go list -json=false
    cmp stdout want-non-json.txt
    
    # Test -json=<field> keeps only that field.
    go list -json=Name
    cmp stdout want-json-name.txt
    
    # Test -json=<field> with multiple fields.
    go list -json=ImportPath,Name,GoFiles,Imports
    cmp stdout want-json-multiple.txt
    
    # Test -json=<field> with Deps outputs the Deps field.
    go list -json=Deps
    stdout '"Deps": \['
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 23 15:24:16 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  4. 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)
  5. src/cmd/go/testdata/script/build_acl_windows.txt

    cp stdout $WORK\exe-acl.txt
    exec powershell -Command 'Get-Acl main.go | Select -expand AccessToString'
    cp stdout $WORK\src-acl.txt
    cd $TMP
    exec powershell -Command 'Get-Acl main.exe | Select -expand AccessToString'
    cp stdout $WORK\guest-acl.txt
    
    cd $WORK
    
    # The executable written to the source directory should have the same ACL as the source file.
    cmp $WORK\exe-acl.txt $WORK\src-acl.txt
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  6. 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)
  7. src/cmd/go/testdata/script/cover_build_simple.txt

    	}
    }
    
    -- data/README.txt --
    
    Just a location where we can write coverage profiles.
    
    -- data/normal/f.txt --
    
    X
    
    -- data/goodexit/f.txt --
    
    X
    
    -- data/badexit/f.txt --
    
    X
    
    -- data/panic/f.txt --
    
    X
    
    -- data2/README.txt --
    
    Just a location where we can write coverage profiles.
    
    -- data2/normal/f.txt --
    
    X
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 28 11:50:58 UTC 2022
    - 3.1K bytes
    - Viewed (0)
  8. 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)
  9. src/cmd/go/testdata/script/vendor_test_issue11864.txt

    package tx2_test
    
    import . "vendor.org/tx2"
    import "testing"
    
    var Found = Exported
    
    func TestNop(t *testing.T) {}
    
    -- $GOPATH/src/github.com/rsc/go-get-issue-11864/vendor/vendor.org/tx2/export_test.go --
    package tx2
    
    var Exported = true
    
    -- $GOPATH/src/github.com/rsc/go-get-issue-11864/vendor/vendor.org/tx2/tx2.go --
    package tx2
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 16 14:41:02 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/list_test_cycle.txt

    go list ./p
    stdout 'example/p'
    
    ! go list -json=ImportPath -test ./p
    cmp stderr wanterr.txt
    
    ! go list -json=ImportPath,Deps -test ./p
    cmp stderr wanterr.txt
    
    ! go list -json=ImportPath,Deps -deps -test ./p
    cmp stderr wanterr.txt
    
    ! go list -json=ImportPath -deps -test ./p
    cmp stderr wanterr.txt
    
    -- wanterr.txt --
    go: can't load test package: package example/p
    	imports example/q
    	imports example/r
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 25 19:18:23 UTC 2023
    - 644 bytes
    - Viewed (0)
Back to top