]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR go/68980 (ps -o cmd in gotest isn't portable)
authorIan Lance Taylor <ian@gcc.gnu.org>
Mon, 11 Jan 2016 17:55:39 +0000 (17:55 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Mon, 11 Jan 2016 17:55:39 +0000 (17:55 +0000)
commitde41ebf5ddab45c643cfe8166c1d274ed4620d4f
tree3f1683873db94b9851ca86cfa67509b430f11c49
parent7c285ab9ae4726b4821379c82d16d2373cd46f8f
re PR go/68980 (ps -o cmd in gotest isn't portable)

PR 68980
    libgo/testsuite: portable ps usage in gotest

    gotest is using "ps" to list descendant sleep
    processes in its timeout handling, grepping
    the command name.

    We are currently using the "cmd" ps output
    formatter, which is non-portable. We should
    use "comm" which is part of the POSIX
    standard, and outputs only the command name
    and not the arguments.

    Fixes https://gcc.gnu.org/PR68980

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

From-SVN: r232234
libgo/testsuite/gotest