os/signal: disable loading of history during test
authorIan Lance Taylor <ian@gcc.gnu.org>
Tue, 17 Apr 2018 23:55:17 +0000 (23:55 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Tue, 17 Apr 2018 23:55:17 +0000 (23:55 +0000)
commit4ba010501965cca2091ac1e702105c623ea115b5
tree8a0194d7a74fe1d3e338b1264736cc80e6610a0a
parentb5872261d5e448c85903c4f3df7e1970fc4c112a
os/signal: disable loading of history during test

    Bring in https://golang.org/cl/98616 from gc tip.

    Original CL description:

        This change modifies Go to disable loading of users' shell history for
        TestTerminalSignal tests. TestTerminalSignal, as part of its workload,
        will execute a new interactive bash shell. Bash will attempt to load the
        user's history from the file pointed to by the HISTFILE environment
        variable. For users with large histories that may take up to several
        seconds, pushing the whole test past the 5 second timeout and causing
        it to fail.

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

From-SVN: r259452
gcc/go/gofrontend/MERGE
libgo/go/os/signal/signal_cgo_test.go