<feed xmlns='http://www.w3.org/2005/Atom'>
<title>go/src/os/executable_test.go, branch go1.9beta2</title>
<subtitle>Fork of Go programming language with my patches.</subtitle>
<id>http://git.kilabit.info/go/atom?h=go1.9beta2</id>
<link rel='self' href='http://git.kilabit.info/go/atom?h=go1.9beta2'/>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/'/>
<updated>2017-06-22T04:42:40Z</updated>
<entry>
<title>os: run more of TestExecutable on OpenBSD</title>
<updated>2017-06-22T04:42:40Z</updated>
<author>
<name>Michael Hendricks</name>
<email>michael@ndrix.org</email>
</author>
<published>2017-06-22T02:28:41Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=b3301865a025fda72b8d327fad4461bb7bf68600'/>
<id>urn:sha1:b3301865a025fda72b8d327fad4461bb7bf68600</id>
<content type='text'>
On OpenBSD, Executable relies on Args[0].  Removing the forgery on
that OS allows the rest of the test to run.

See #19453

Change-Id: Idf99f86894de5c702893791bc3684f8665f4019d
Reviewed-on: https://go-review.googlesource.com/46398
Reviewed-by: Brad Fitzpatrick &lt;bradfitz@golang.org&gt;
Run-TryBot: Brad Fitzpatrick &lt;bradfitz@golang.org&gt;
TryBot-Result: Gobot Gobot &lt;gobot@golang.org&gt;
</content>
</entry>
<entry>
<title>os: on OpenBSD implement Executable using Args[0]</title>
<updated>2017-06-17T03:32:59Z</updated>
<author>
<name>Ian Lance Taylor</name>
<email>iant@golang.org</email>
</author>
<published>2017-06-17T01:13:13Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=c60d6c0b4367c047470ddd652f8c53e286481f96'/>
<id>urn:sha1:c60d6c0b4367c047470ddd652f8c53e286481f96</id>
<content type='text'>
OpenBSD no longer has procfs.

Based on a patch by Matthieu Sarter.

Fixes #19453.

Change-Id: Ia09d16f8a1cbef2f8cc1c5f49e9c61ec7d026a40
Reviewed-on: https://go-review.googlesource.com/46004
Run-TryBot: Ian Lance Taylor &lt;iant@golang.org&gt;
TryBot-Result: Gobot Gobot &lt;gobot@golang.org&gt;
Reviewed-by: Brad Fitzpatrick &lt;bradfitz@golang.org&gt;
</content>
</entry>
<entry>
<title>os: add Executable() (string, error)</title>
<updated>2016-11-07T22:34:48Z</updated>
<author>
<name>Shenghou Ma</name>
<email>minux@golang.org</email>
</author>
<published>2015-11-01T09:18:58Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=2fc67e71af142bfa1e7662a4fde361f43509d2d7'/>
<id>urn:sha1:2fc67e71af142bfa1e7662a4fde361f43509d2d7</id>
<content type='text'>
// Executable returns the path name for the executable that started
// the current process. There is no guarantee that the path is still
// pointing to the correct executable. If a symlink was used to start
// the process, depending on the operating system, the result might
// be the symlink or the path it pointed to. If a stable result is
// needed, path/filepath.EvalSymlinks might help.
//
// Executable returns an absolute path unless an error occurred.
//
// The main use case is finding resources located relative to an
// executable.
//
// Executable is not supported on nacl or OpenBSD (unless procfs is
// mounted.)
func Executable() (string, error) {
	return executable()
}

Fixes #12773.

Change-Id: I469738d905b12f0b633ea4d88954f8859227a88c
Reviewed-on: https://go-review.googlesource.com/16551
Run-TryBot: Minux Ma &lt;minux@golang.org&gt;
TryBot-Result: Gobot Gobot &lt;gobot@golang.org&gt;
Reviewed-by: Brad Fitzpatrick &lt;bradfitz@golang.org&gt;
</content>
</entry>
</feed>
