blob: 8950f8d088e747e13de82f0dce86a630217eab48 [file] [log] [blame]
[short] skip
[gccgo] skip
# Test for issue 24588
go test -c -o $WORK/coverdep -coverprofile=$WORK/no/such/dir/cover.out coverdep
exists -exec $WORK/coverdep
-- go.mod --
module coverdep
go 1.16
-- p.go --
package p
import _ "coverdep/p1"
func F() {
}
-- p1/p1.go --
package p1
import _ "errors"
-- p_test.go --
package p
import "testing"
func Test(t *testing.T) {
F()
}