]> Cypherpunks repositories - gostls13.git/commitdiff
os: darwin/arm working dir moved for tests
authorDavid Crawshaw <crawshaw@golang.org>
Sun, 1 Mar 2015 03:35:51 +0000 (22:35 -0500)
committerDavid Crawshaw <crawshaw@golang.org>
Sun, 1 Mar 2015 16:09:46 +0000 (16:09 +0000)
The go_darwin_arm_exec script now tells lldb to move the working
directory into <bundle>/src/os on startup.

Change-Id: I0ada4969e9ea374f08c84ab736aab2097ac73dd8
Reviewed-on: https://go-review.googlesource.com/6369
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
src/os/os_test.go

index 1e8bc2d637024604e834502fa83ed1a4b71ea299..09177496e2fbc88315a17d820e5265afae695863 100644 (file)
@@ -59,7 +59,7 @@ var sysdir = func() *sysDir {
                                wd = err.Error()
                        }
                        return &sysDir{
-                               wd,
+                               filepath.Join(wd, "..", ".."),
                                []string{
                                        "ResourceRules.plist",
                                        "Info.plist",