github.com/zxy12/go_duplicate_112_new@v0.0.0-20200807091221-747231827200/src/cmd/go/testdata/script/cpu_profile_twice.txt (about)

     1  # Issue 23150
     2  
     3  [short] skip
     4  
     5  go test -o=$WORK/x.test -cpuprofile=$WORK/cpu_profile_twice.out x
     6  rm $WORK/cpu_profile_twice.out
     7  
     8  go test -o=$WORK/x.test -cpuprofile=$WORK/cpu_profile_twice.out x
     9  exists $WORK/cpu_profile_twice.out
    10  
    11  
    12  -- x/x_test.go --
    13  package x_test
    14  import (
    15      "testing"
    16      "time"
    17  )
    18  func TestSleep(t *testing.T) {
    19      time.Sleep(10 * time.Millisecond)
    20  }