tests: Reproducer for T122
Signed-off-by: Jakub Jelen <jjelen@redhat.com> Reviewed-by: Daiki Ueno <dueno@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
Этот коммит содержится в:
родитель
42c92074b9
Коммит
d4e5644e21
@ -98,6 +98,13 @@ static void torture_sftp_read_blocking(void **state) {
|
||||
int torture_run_tests(void) {
|
||||
int rc;
|
||||
struct CMUnitTest tests[] = {
|
||||
/* This test is intentionally running twice to trigger a bug in OpenSSH
|
||||
* or in pam_wrapper, causing the second invocation to fail.
|
||||
* See: https://bugs.libssh.org/T122
|
||||
*/
|
||||
cmocka_unit_test_setup_teardown(torture_sftp_read_blocking,
|
||||
session_setup,
|
||||
session_teardown),
|
||||
cmocka_unit_test_setup_teardown(torture_sftp_read_blocking,
|
||||
session_setup,
|
||||
session_teardown)
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user