From: Aki Tuomi Date: Mon, 18 Nov 2024 13:56:03 +0000 (+0200) Subject: var-expand-crypt: Reduce random test loops to 100 X-Git-Tag: 2.4.1~523 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6a826302a03496fb0c74ac8d73b2f21a0607dcf3;p=thirdparty%2Fdovecot%2Fcore.git var-expand-crypt: Reduce random test loops to 100 It takes too long with valgrind otherwise. --- diff --git a/src/plugins/var-expand-crypt/test-var-expand-crypt.c b/src/plugins/var-expand-crypt/test-var-expand-crypt.c index 64598ee4c7..1c02ec975a 100644 --- a/src/plugins/var-expand-crypt/test-var-expand-crypt.c +++ b/src/plugins/var-expand-crypt/test-var-expand-crypt.c @@ -132,7 +132,7 @@ static void test_var_expand_crypt_random(void) }; int ret = 0; - for (unsigned int i = 0; i < 1000; i++) { + for (unsigned int i = 0; i < 100; i++) { const char *error; str_truncate(input, 0); str_truncate(output, 0);