Hi Go team, On Tue, Jun 26, 2018 at 10:52:52PM +0000, Santiago Vila wrote: > === RUN TestExecutableDelete > --- FAIL: TestExecutableDelete (0.00s) > osext_test.go:135: Child returned > "/tmp/go-build962600465/b001/osext.test (deleted)", not the same file as > "/tmp/go-build962600465/b001/osext.test" > FAIL > FAIL github.com/kardianos/osext 0.004s >
I think this test doesn't make any sense, we should just skip this test. Reading this test logic, it first reads its self executable path, then start it self, then remove original file. It of cause prints the "/tmp/go-buildnnn/b001/osext.test (deleted)". ^^^^^^^^^ Besides in go >= 1.8, this package's Executable function just fallback to go system os package. -- Best regards, Shengjing Zhu
signature.asc
Description: PGP signature