mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-19 03:33:43 +03:00
tests: avoid false failure on older valgrind
* src/shuf.c (main): In dev mode call randint_all_free() to avoid false failure with valgrind 3.16.1 at least. Note this partially reinstates commit v9.0-109-g0106b5a4b. This was noticed on a debian 11 system running CI tests.
This commit is contained in:
1 parent
6db4b33eb9
commit
f7c53095d2
1 file changed
+2
@@ -593,5 +593,7 @@ main (int argc, char **argv)
|
||||
if (i != 0)
|
||||
write_error ();
|
||||
|
||||
IF_LINT (randint_all_free (randint_source)); /* For older valgrind. */
|
||||
|
||||
main_exit (EXIT_SUCCESS);
|
||||
}
|
||||
Reference in new issue
Block a user