diff options
Diffstat (limited to 'init.cfg')
-rw-r--r-- | init.cfg | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -159,10 +159,14 @@ require_strace_() fi } -# Skip the current test if valgrind doesn't work. +# Skip the current test if valgrind doesn't work, +# which could happen if not installed, +# or hasn't support for the built architecture, +# or hasn't appropriate error suppressions installed etc. require_valgrind_() { - valgrind --help >/dev/null || skip_ "requires valgrind" + valgrind --error-exitcode=1 true 2>/dev/null || + skip_ "requires a working valgrind" } require_setfacl_() |