...
Run Format

Text file src/cmd/go/testdata/script/list_toolexec_stderr_issue22588.txt

Documentation: cmd/go/testdata/script

     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
     9go list -f '{{.Stale}}' runtime
    10go list -toolexec /usr/bin/time -f '{{.Stale}}' runtime
    11stdout 'false' # runtime should not be reported as stale

View as plain text