Hi Julian,

On 2024-01-11 05:46, Julian Andres Klode wrote:
> And there aren't any hard errors. We could zero initialize
> those or add supressions to make things look nicer I suppose.

Mmmh no, they are all actual errors as far as valgrind is concerned.

The thing is, you're running valgrind without --error-exitcode. By doing
so, the exit code of your tests is the exit code of apt-get, not of
valgrind.

Try this instead:

(sid-amd64)root@ariel:~# valgrind --error-exitcode=1 apt-get update
[...]
==308534== ERROR SUMMARY: 6 errors from 6 contexts (suppressed: 0 from 0)
(sid-amd64)root@ariel:~# echo $?
1

Reply via email to