]> Cypherpunks repositories - gostls13.git/commitdiff
runtime: fix test
authorRuss Cox <rsc@golang.org>
Mon, 16 Dec 2013 17:59:30 +0000 (12:59 -0500)
committerRuss Cox <rsc@golang.org>
Mon, 16 Dec 2013 17:59:30 +0000 (12:59 -0500)
Was supposed to be in the nm CL.

TBR=r
CC=golang-dev
https://golang.org/cl/42870043

src/pkg/runtime/runtime_test.go

index de6e5498e5921bf43b239fc5b585f30e54be0269..238b70572fa6f158414f99a69fd7122e734eefac 100644 (file)
@@ -104,7 +104,7 @@ func TestRuntimeGogoBytes(t *testing.T) {
                t.Fatalf("building hello world: %v\n%s", err, out)
        }
 
-       out, err = exec.Command("go", "tool", "nm", "-S", dir+"/hello").CombinedOutput()
+       out, err = exec.Command("go", "tool", "nm", "-size", dir+"/hello").CombinedOutput()
        if err != nil {
                t.Fatalf("go tool nm: %v\n%s", err, out)
        }