From: Stefan Sperling Subject: Re: gotd: handle early client disconnections To: Omar Polo Cc: gameoftrees@openbsd.org Date: Sun, 22 Jan 2023 15:04:48 +0100 On Sun, Jan 22, 2023 at 02:48:20PM +0100, Omar Polo wrote: > Yes, but the uid matters for the limit. The user running the tests is > the local user ("op" in my case) that is different from the one > connecting when cloning via ssh ("gotdev") so the nc "trick" to test > if gotd closes the sockets doesn't work. I see. > > It would be nice to have ways to test such things in the test suite. > > maybe we could add a separate test suite that's run as gotdev? Yes, of course. The Makefile runs as root and can launch individual test suites as any UID.