]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
var-expand-crypt: Reduce random test loops to 100
authorAki Tuomi <aki.tuomi@open-xchange.com>
Mon, 18 Nov 2024 13:56:03 +0000 (15:56 +0200)
committerAki Tuomi <aki.tuomi@open-xchange.com>
Fri, 17 Jan 2025 08:40:01 +0000 (10:40 +0200)
It takes too long with valgrind otherwise.

src/plugins/var-expand-crypt/test-var-expand-crypt.c

index 64598ee4c7ed5d8877a3ea639ba36617d40b804e..1c02ec975a0d4d6e07ce2607df66ec46755ce5e6 100644 (file)
@@ -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);