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

     1  # Test that go doc -http succeeds on a clean GOCACHE (golang/go#80287).
     2  env TEST_GODOC_BUILD_ONLY=1
     3  env GOCACHE=$WORK/clean-gocache
     4  
     5  # First run with clean GOCACHE
     6  go doc -http fmt
     7  
     8  # Second run with existing GOCACHE
     9  go doc -http fmt
    10  

View as plain text