On Thu, Nov 07, 2024 at 03:54:43PM +0100, Stefano
Brivio wrote:
On Wed, 6 Nov 2024 14:03:20 +1100
David Gibson <david(a)gibson.dropbear.id.au> wrote:
While working on the exeter tests, I noticed a
couple of things
missing in nstool. These make sense standalone, even if we don't have
an urgent need for them without the exeter tests.
David Gibson (2):
test: Rename propagating signal handler
test: Make nstool hold robust against interruptions to control clients
Applied.
Actually, one much-needed improvement for nstool in the current test
framework (at least for my usage) would be to make it terminate when
needed.
A while ago, 'killall -9 nstool' entered my shell history and now it's
right there with 'git rebase --continue':
$ sort ~/.bash_history | uniq -c | sort -nr | grep -A1 'killall -9 nstool'
192 killall -9 nstool
192 git rebase --continue
Yeah, I have something similar. But, I don't currently know what
exactly the circumstances are that lead to those stale nstools, so it
would involve a fair bit of debugging.
Start tests, the ones using nstool (not the "ugly" ones), then ^C ^D
until you're out of tmux, and nstool is _always_ there at that point.
--
Stefano