libgo/testsuite: don't call kill without args
authorIan Lance Taylor <ian@gcc.gnu.org>
Fri, 7 Aug 2015 10:10:00 +0000 (10:10 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Fri, 7 Aug 2015 10:10:00 +0000 (10:10 +0000)
commitd0ceffe507fe615536259a326fcb7e6eb9a42765
tree0cf14d708c9182436efecdff9ddb8ffae45a6212
parent82b110199afddd36478f3c5e31fea87778ab5400
libgo/testsuite: don't call kill without args

    If the timeout subshell has no child processes,
    the "xargs | kill" will fail. Ensure there is
    some input for kill before calling it.

    Reviewed-on: https://go-review.googlesource.com/13295

From-SVN: r226719
gcc/go/gofrontend/MERGE
libgo/testsuite/gotest