From: Mark Wielaard Date: Thu, 11 Apr 2024 16:29:01 +0000 (+0200) Subject: Add memcheck/tests/linux/capget.stderr.exp4 variant X-Git-Tag: VALGRIND_3_23_0~64 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=999124ef07b5eb82c0ebefcc97c0726e4df407e7;p=thirdparty%2Fvalgrind.git Add memcheck/tests/linux/capget.stderr.exp4 variant Add an expect file for capget where the inheritable bits are set, when run as root. --- diff --git a/memcheck/tests/linux/Makefile.am b/memcheck/tests/linux/Makefile.am index 29f3b8974..3d06d483c 100644 --- a/memcheck/tests/linux/Makefile.am +++ b/memcheck/tests/linux/Makefile.am @@ -10,6 +10,7 @@ EXTRA_DIST = \ brk.stderr.exp brk.vgtest \ bug480706.stderr.exp bug480706.vgtest \ capget.vgtest capget.stderr.exp capget.stderr.exp2 capget.stderr.exp3 \ + capget.stderr.exp4 \ debuginfod-check.stderr.exp debuginfod-check.vgtest.in \ debuginfod-check.pl \ dlclose_leak-no-keep.stderr.exp dlclose_leak-no-keep.stdout.exp \ diff --git a/memcheck/tests/linux/capget.stderr.exp4 b/memcheck/tests/linux/capget.stderr.exp4 new file mode 100644 index 000000000..b0cd8ce3b --- /dev/null +++ b/memcheck/tests/linux/capget.stderr.exp4 @@ -0,0 +1,15 @@ + +Running as root +capget result: +effective 0x........ +permitted 0x........ +inheritable 0x........ + +HEAP SUMMARY: + in use at exit: ... bytes in ... blocks + total heap usage: ... allocs, ... frees, ... bytes allocated + +For a detailed leak analysis, rerun with: --leak-check=full + +For lists of detected and suppressed errors, rerun with: -s +ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)