mirror of
https://github.com/appleboy/drone-ssh.git
synced 2025-07-02 21:52:51 +08:00
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:
parent
412193b000
commit
ff79cee470
@ -981,8 +981,9 @@ func TestSudoCommand(t *testing.T) {
|
|||||||
Script: []string{
|
Script: []string{
|
||||||
`sudo su - -c "whoami"`,
|
`sudo su - -c "whoami"`,
|
||||||
},
|
},
|
||||||
CommandTimeout: 10 * time.Second,
|
CommandTimeout: 10 * time.Second,
|
||||||
RequireTty: true,
|
RequireTty: true,
|
||||||
|
UseInsecureCipher: true, // Allow insecure ciphers for compatibility
|
||||||
},
|
},
|
||||||
Writer: &buffer,
|
Writer: &buffer,
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user