%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /usr/local/go/src/cmd/go/testdata/script/
Upload File :
Create Path :
Current File : //usr/local/go/src/cmd/go/testdata/script/cpu_profile_twice.txt

env GO111MODULE=off

# Issue 23150

[short] skip

go test -o=$WORK/x.test -cpuprofile=$WORK/cpu_profile_twice.out x
rm $WORK/cpu_profile_twice.out

go test -o=$WORK/x.test -cpuprofile=$WORK/cpu_profile_twice.out x
exists $WORK/cpu_profile_twice.out


-- x/x_test.go --
package x_test
import (
    "testing"
    "time"
)
func TestSleep(t *testing.T) {
    time.Sleep(10 * time.Millisecond)
}

Zerion Mini Shell 1.0