- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 975 for STDOUT (0.1 sec)
-
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) -
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) -
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) -
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) -
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) -
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) -
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) -
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) -
src/cmd/go/testdata/script/test_skip.txt
! stdout RUN stdout '^ok.*\[no tests to run\]' go test -v -skip T skip_test.go ! stdout RUN go test -v -skip 1 skip_test.go ! stdout Test1 stdout RUN.*Test2 stdout RUN.*Test2/3 go test -v -skip 2/3 skip_test.go stdout RUN.*Test1 stdout RUN.*Test2 stdout RUN.*ExampleTest1 ! stdout Test2/3 go test -v -skip 2/4 skip_test.go stdout RUN.*Test1 stdout RUN.*Test2 stdout RUN.*Test2/3
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 15 17:40:22 UTC 2023 - 755 bytes - Viewed (0) -
src/cmd/go/testdata/script/mod_list_std.txt
go list cmd/... stdout ^cmd/compile ! stdout ^cmd/vendor/golang\.org/x/arch/x86/x86asm # GOROOT/src/... should list the packages in std as if it were a module # dependency: omitting vendored dependencies and stopping at the 'cmd' module # boundary. go list $GOROOT/src/... stdout ^bytes$ ! stdout ^builtin$ ! stdout ^cmd/ ! stdout ^vendor/ ! stdout ^golang\.org/x/
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Feb 28 18:50:20 UTC 2023 - 2.7K bytes - Viewed (0)