failpoint.Inject(Marker, nil)
return "hello " + name
}
2. What did you expect to see?
This file can be correctly rewritten by `failpoint-ctl` tool
3. What did you see instead?
rewrite failed.
```sh
/bin/sh: Rewrite: command not found
make: *** [failpoint-enable] Error 127
Versions of the failpoint
failpoint-ctl version (run failpoint-ctl -V):
ReleaseVersion bf45ab2
BuildTS 2019-05-15 09:48:44
GitHash bf45ab20bfc48d624b61944a4820768c16d7db99
GitBranch master
GoVersion go version go1.12 darwin/amd64
Bug Report
Please answer these questions before submitting your issue. Thanks!
import (
) const ( Marker = "failpoint-name" ) func F1(name string) string {
}
Versions of the failpoint
failpoint-ctl -V
):ReleaseVersion bf45ab2 BuildTS 2019-05-15 09:48:44 GitHash bf45ab20bfc48d624b61944a4820768c16d7db99 GitBranch master GoVersion go version go1.12 darwin/amd64