Text file
src/cmd/go/testdata/script/list_toolexec_stderr_issue22588.txt
1 # This is a script test conversion of TestIssue22588 which was added in CL 76017.
2 # Test that the stderr of a tool run under toolexec doesn't affect caching.
3
4 # Don't get confused by stderr coming from tools.
5 [!exec:/usr/bin/time] skip
6
7 ! stale runtime 'must be non-stale to compare staleness under -toolexec'
8
9 go list -f '{{.Stale}}' runtime
10 go list -toolexec /usr/bin/time -f '{{.Stale}}' runtime
11 stdout 'false' # runtime should not be reported as stale
View as plain text