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

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

View as plain text