test: enable insecure cipher suites for test compatibility

- Enable insecure ciphers in test configuration for compatibility

Signed-off-by: appleboy <appleboy.tw@gmail.com>
This commit is contained in:
appleboy 2025-04-27 09:10:09 +08:00
parent 412193b000
commit ff79cee470
No known key found for this signature in database

View File

@ -983,6 +983,7 @@ func TestSudoCommand(t *testing.T) {
}, },
CommandTimeout: 10 * time.Second, CommandTimeout: 10 * time.Second,
RequireTty: true, RequireTty: true,
UseInsecureCipher: true, // Allow insecure ciphers for compatibility
}, },
Writer: &buffer, Writer: &buffer,
} }