]> Cypherpunks.ru repositories - gostls13.git/commitdiff
test: add missing linkx test
authorJosh Bleecher Snyder <josharian@gmail.com>
Thu, 18 Dec 2014 17:33:44 +0000 (09:33 -0800)
committerJosh Bleecher Snyder <josharian@gmail.com>
Thu, 18 Dec 2014 17:41:27 +0000 (17:41 +0000)
This test was added in CL 151000043.
It got lost in CL 144630044.

Change-Id: I318ab11be8e3e7489fc1395457c029c8bdb2aa41
Reviewed-on: https://go-review.googlesource.com/1773
Reviewed-by: Ian Lance Taylor <iant@golang.org>
test/linkx_run.go

index 5b67ce7d3de9f005b2196887bd3ea8c1836e392b..11b66ed5a91fa78149fbbb4e2ca6daf4e3d06113 100644 (file)
@@ -16,7 +16,7 @@ import (
 )
 
 func main() {
-       cmd := exec.Command("go", "run", "-ldflags=-X main.tbd hello -X main.overwrite trumped", "linkx.go")
+       cmd := exec.Command("go", "run", "-ldflags=-X main.tbd hello -X main.overwrite trumped -X main.nosuchsymbol neverseen", "linkx.go")
        out, err := cmd.CombinedOutput()
        if err != nil {
                fmt.Println(string(out))