]> Cypherpunks repositories - gostls13.git/commit
misc/cgo/testcshared: make test.bash resilient against noise.
authorHyang-Ah Hana Kim <hyangah@gmail.com>
Fri, 24 Apr 2015 18:11:29 +0000 (14:11 -0400)
committerHyang-Ah Hana Kim <hyangah@gmail.com>
Fri, 24 Apr 2015 18:32:24 +0000 (18:32 +0000)
commite9a89b80b69eb977697455c0a45044b12fc9a197
treed7802d76683dc0a70ad4453d0f3d14c75d07a02d
parentb3000b6f6a36ff89836bac5549669859efd80ff0
misc/cgo/testcshared: make test.bash resilient against noise.

Instead of comparing against the entire output that may include
verbose warning messages, use the last line of the output and check
it includes the expected success message (PASS).

Change-Id: Iafd583ee5529a8aef5439b9f1f6ce0185e4b1331
Reviewed-on: https://go-review.googlesource.com/9304
Reviewed-by: David Crawshaw <crawshaw@golang.org>
misc/cgo/testcshared/test.bash