]> www.infradead.org Git - users/dwmw2/openconnect.git/commit
tests: Don't recreate sockdir after cleanup()
authorDavid Woodhouse <dwmw2@infradead.org>
Tue, 7 Jan 2025 13:06:54 +0000 (13:06 +0000)
committerDavid Woodhouse <dwmw2@infradead.org>
Tue, 7 Jan 2025 13:12:12 +0000 (13:12 +0000)
commitfa1c8453f72cafe9a98f7650ef3a522eec0faaa7
tree0efc7e173a8605f2fbf23df6b2406c5d87c9bb47
parent76b5a2fd4f513b6dd110e561e562faff36bb6ced
tests: Don't recreate sockdir after cleanup()

Ever since commit bba8db3e922d ("modify tests/common.sh so that
launch_simple_sr_server() → test → cleanup() can be used repeatedly in a
single script") the cleanup() function has left an empty socket wrapper
directory behind.

Instead of recreating it in cleanup(), do so in launch_simple_sr_server()
launch_simple_pppd().

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
tests/common.sh