From 6210d9fd736655a7b1df08f98aaa57ec722059bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcus=20Sch=C3=A4fer?= Date: Mon, 10 Aug 2026 12:01:20 +0200 Subject: [PATCH] Fix test_baseVagrantSetup The test checks for settings to appear in lowercase, but depending on the OS this varies. This commit turns check string and output string to lowercase to allow a match in any case the setting occurs --- test/scripts/test_baseVagrantSetup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/scripts/test_baseVagrantSetup.py b/test/scripts/test_baseVagrantSetup.py index 36db52cbbb8..88c7f3f550c 100644 --- a/test/scripts/test_baseVagrantSetup.py +++ b/test/scripts/test_baseVagrantSetup.py @@ -59,8 +59,8 @@ def test_configures_system_for_vagrant(container_per_test): # check the sshd config sshd_config = container_per_test.connection.run_expect([0], "sshd -T").stdout - assert "UseDNS no".lower() in sshd_config - assert "GSSAPIAuthentication no".lower() in sshd_config + assert "UseDNS no".lower() in sshd_config.lower() + assert "GSSAPIAuthentication no".lower() in sshd_config.lower() # check that the shared /vagrant folder is present and has the correct permissions vagrant_shared_dir = container_per_test.connection.file("/vagrant")