diff options
author | Lynn Boger <laboger@linux.vnet.ibm.com> | 2017-02-21 11:28:49 -0500 |
---|---|---|
committer | Lynn Boger <laboger@linux.vnet.ibm.com> | 2017-02-22 16:34:14 +0000 |
commit | ea48c9d2325dfe3ccd64a2bfeea9516cb5a1d2e3 (patch) | |
tree | adf480e76f87f2cfe328e4079bd054a756d9aad2 /src/runtime/crash_test.go | |
parent | 094992e22aaa1d7091659b63b5cadfe947372277 (diff) | |
download | go-ea48c9d2325dfe3ccd64a2bfeea9516cb5a1d2e3.tar.gz go-ea48c9d2325dfe3ccd64a2bfeea9516cb5a1d2e3.zip |
runtime: more detail for crash_test.go
This updates the testcase to display the timestamps for the
runtime.a, it dependent packages atomic.a and sys.a, and
source files.
Change-Id: Id2901b4e8aa8eb9775c4f404ac01cc07b394ba91
Reviewed-on: https://go-review.googlesource.com/37332
Run-TryBot: Lynn Boger <laboger@linux.vnet.ibm.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/runtime/crash_test.go')
-rw-r--r-- | src/runtime/crash_test.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/runtime/crash_test.go b/src/runtime/crash_test.go index 8a48c351f6..fae2981610 100644 --- a/src/runtime/crash_test.go +++ b/src/runtime/crash_test.go @@ -170,6 +170,9 @@ func checkStaleRuntime(t *testing.T) { t.Logf("go list -f {{.StaleReason}} failed: %v", err) } t.Logf("go list -f {{.StaleReason}} runtime:\n%s", out) + out, err = testEnv(exec.Command("ls", "-lR", "--full-time", runtime.GOROOT())).CombinedOutput() + t.Logf("%s", out) + staleRuntimeErr = fmt.Errorf("Stale runtime.a. Run 'go install runtime'.") } }) |