Re: [PATCH] libgo: Avoid clobbering shell history file in signal_cgo_test.go

2018-04-17 Thread Ian Lance Taylor
On Wed, Apr 4, 2018 at 6:03 AM, Andreas Schwab wrote: > > For some reason signal_cgo_test.go needs to run an interactive shell, > but suppresses reading the startup files. This causes the shell history > file to be clobbered, by using different history settings than usual. > Avoid that by setting

[PATCH] libgo: Avoid clobbering shell history file in signal_cgo_test.go

2018-04-04 Thread Andreas Schwab
For some reason signal_cgo_test.go needs to run an interactive shell, but suppresses reading the startup files. This causes the shell history file to be clobbered, by using different history settings than usual. Avoid that by setting HOME to / so that the shell cannot write a history file.