summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2026-05-02 20:30:58 +0200
committerChristian Breunig <christian@breunig.cc>2026-05-06 19:49:27 +0200
commitd078d2755a4575f369f398294f13b5da12fe543d (patch)
treee07ceff739ad663fb2f0ee6143e558b0f2a6a93a /scripts
parentded3f2a70ffaef3355316220647366c54508fe7e (diff)
downloadvyos-build-d078d2755a4575f369f398294f13b5da12fe543d.tar.gz
vyos-build-d078d2755a4575f369f398294f13b5da12fe543d.zip
Testsuite: T8147: properly close pexpect child
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/check-qemu-install1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/check-qemu-install b/scripts/check-qemu-install
index 4f99e82d..8eb1ddf0 100755
--- a/scripts/check-qemu-install
+++ b/scripts/check-qemu-install
@@ -301,6 +301,7 @@ def shutdownVM(c, log, message=''):
tmp = 'VM Did not shut down after 300sec'
log.error(tmp)
raise Exception(tmp)
+ c.close()
def waitForLogin(child, log, timeout=20) -> None:
try: