Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,282 for STDOUT (0.45 sec)

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

    go list -f $PKGFMT all
    stdout -count=13 '^.'
    stdout '^example.com/a$'
    stdout '^example.com/b$'
    stdout '^example.com/c$'
    stdout '^example.com/d$'
    stdout '^example.com/main$'
    stdout '^example.com/main/testonly$'
    stdout '^example.com/q$'
    stdout '^example.com/r$'
    stdout '^example.com/s$'
    stdout '^example.com/t$'
    stdout '^example.com/u$'
    stdout '^example.com/w$'
    stdout '^example.com/x$'
    
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 20 18:41:57 UTC 2021
    - 13.1K bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/test_exit.txt

    # it will panic.
    ! go test ./zero
    ! stdout ^ok
    ! stdout 'exit status'
    stdout 'panic'
    stdout ^FAIL
    
    # If a test exits with a non-zero status code, 'go test' fails normally.
    ! go test ./one
    ! stdout ^ok
    stdout 'exit status'
    ! stdout 'panic'
    stdout ^FAIL
    
    # Ensure that other flags still do the right thing.
    go test -list=. ./zero
    stdout ExitZero
    
    ! go test -bench=. ./zero
    stdout 'panic'
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 14 20:38:03 UTC 2021
    - 2.5K bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/mod_list_issue61415.txt

    cp stdout has-nested.json
    stdout '"Origin":'
    stdout '"VCS": "git"'
    stdout '"URL":'  # randomly-chosen vcweb localhost URL
    stdout '"Subdir": "nested"'
    stdout '"TagPrefix": "nested/"'
    stdout '"TagSum": "t1:47DEQpj8HBSa\+/TImW\+5JCeuQeRkm5NMpJWZG3hSuFU="'
    stdout '"Ref": "refs/tags/has-nested"'
    stdout '"Hash": "08a4fa6bb9c04ffba03b26ae427b0d6335d90a2a"'
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 16 22:15:45 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/test_json_exit.txt

    ! go test -json ./mainpanic
    stdout '"Action":"fail"'
    ! stdout '"Action":"pass"'
    
    ! go tool test2json ./mainpanic.exe
    stdout '"Action":"fail"'
    ! stdout '"Action":"pass"'
    
    # Test binaries that exit with status 0 should be marked as passing.
    
    go test -json ./mainexit0
    stdout '"Action":"pass"'
    ! stdout '"Action":"fail"'
    
    go tool test2json ./mainexit0.exe
    stdout '"Action":"pass"'
    ! stdout '"Action":"fail"'
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 17 19:43:21 UTC 2020
    - 2K bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/mod_list_issue61423.txt

    # Origin data to be reusable.
    
    go list -m -json vcs-test.golang.org/git/issue61415.git@latest
    cp stdout git-latest.json
    stdout '"Version": "v0.0.0-20231114180001-f213069baa68"'
    stdout '"Origin":'
    stdout '"VCS": "git"'
    stdout '"Hash": "f213069baa68ec26412fb373c7cf6669db1f8e69"'
    stdout '"Ref": "HEAD"'
    stdout '"TagSum": "t1:47DEQpj8HBSa\+/TImW\+5JCeuQeRkm5NMpJWZG3hSuFU="'
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 17 22:43:50 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/test_fuzz_run.txt

    stdout FAIL
    stdout 'error here'
    ! stdout 'no tests to run'
    
    ! go test -v -run FuzzFoo/this
    stdout FAIL
    stdout 'error here'
    stdout '=== RUN   FuzzFoo/thisfails'
    stdout '--- FAIL: FuzzFoo/thisfails'
    stdout '=== RUN   FuzzFoo/thispasses'
    stdout '--- PASS: FuzzFoo/thispasses'
    ! stdout 'no tests to run'
    
    ! go test -v -run /this
    stdout FAIL
    stdout 'error here'
    stdout '=== RUN   FuzzFoo/thisfails'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 20:43:02 UTC 2021
    - 3K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/test_shuffle.txt

    stdout '^-test.shuffle -1'
    stdout '(?s)TestThree(.*)TestOne(.*)TestTwo'
    
    go test -v -shuffle=on foo_test.go
    stdout '^-test.shuffle '
    stdout '(?s)=== RUN   TestOne(.*)--- PASS: TestOne'
    stdout '(?s)=== RUN   TestTwo(.*)--- PASS: TestTwo'
    stdout '(?s)=== RUN   TestThree(.*)--- PASS: TestThree'
    
    
    # Run tests and benchmarks
    go test -v -bench=. foo_test.go
    ! stdout '-test.shuffle '
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 19 20:46:11 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/test_fuzz.txt

    stdout ok
    ! stdout FAIL
    
    # Test that f.Fatal within f.Fuzz panics
    ! go test fatal_fuzz_fn_fuzz_test.go
    ! stdout ^ok
    ! stdout 'fatal here'
    stdout FAIL
    stdout 'fuzz target'
    
    # Test that f.Error within f.Fuzz panics
    ! go test error_fuzz_fn_fuzz_test.go
    ! stdout ^ok
    ! stdout 'error here'
    stdout FAIL
    stdout 'fuzz target'
    
    # Test that f.Fail within f.Fuzz panics
    ! go test fail_fuzz_fn_fuzz_test.go
    ! stdout ^ok
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 16 16:53:11 UTC 2023
    - 10.2K bytes
    - Viewed (0)
  9. src/cmd/go/testdata/script/mod_fs_patterns.txt

    cd x
    
    # all packages
    go list all
    stdout ^m$
    stdout ^m/vendor$
    ! stdout vendor/
    stdout ^m/y$
    ! stdout ^m/y/z
    
    # path pattern
    go list m/...
    stdout ^m$
    stdout ^m/vendor$
    ! stdout vendor/
    stdout ^m/y$
    ! stdout ^m/y/z
    
    # directory pattern
    go list ./...
    stdout ^m$
    stdout ^m/vendor$
    ! stdout vendor/
    stdout ^m/y$
    ! stdout ^m/y/z
    
    # non-existent directory should not prompt lookups
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 18 18:09:53 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/mod_upgrade_patch.txt

    go get -u=patch
    go list -m all
    stdout '^patch.example.com/direct v1.0.1'
    stdout '^patch.example.com/indirect v1.0.1'
    stdout '^patch.example.com/depofdirectpatch v1.0.0'
    
    # 'get all@patch' should patch the modules that provide packages in 'all'.
    cp go.mod.orig go.mod
    go get all@patch
    go list -m all
    stdout '^patch.example.com/direct v1.0.1'
    stdout '^patch.example.com/indirect v1.0.1'
    stdout '^patch.example.com/depofdirectpatch v1.0.0'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 28 17:19:14 UTC 2021
    - 3.6K bytes
    - Viewed (0)
Back to top