]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
FreeBSD regtest: more kenv churn
authorPaul Floyd <pjfloyd@wanadoo.fr>
Sat, 12 Jul 2025 19:45:10 +0000 (21:45 +0200)
committerPaul Floyd <pjfloyd@wanadoo.fr>
Sat, 12 Jul 2025 19:45:10 +0000 (21:45 +0200)
Haste makes Waste. Filter was broken (and thererfore the expected
not correct either).

memcheck/tests/freebsd/filter_kenv
memcheck/tests/freebsd/kenv.stderr.exp

index c6bb6837a3cc9c1ca819e6348d82a68794c1769e..029d3c73f40f1f3ef166ffd5a20dbf91c62d64a8 100755 (executable)
@@ -7,4 +7,4 @@
 # on the FreeBSD version, so we want to filter the size of
 # KENV_DUMP allocation
 
-gsed 's/4,765 bytes allocated/XXX bytes allocated'
+gsed 's/ [^ ]* bytes allocated/ XXX bytes allocated/'
index c356c7c833b27df585d09f58479824af27a0bbe1..faf3ccc8ab2bd74e7545954d3c5b5bcf225a89e3 100644 (file)
@@ -46,7 +46,7 @@ Syscall param kenv(value) points to unaddressable byte(s)
 
 HEAP SUMMARY:
     in use at exit: 0 bytes in 0 blocks
-  total heap usage: 5 allocs, 5 frees, 4,765 bytes allocated
+  total heap usage: 5 allocs, 5 frees, XXX bytes allocated
 
 For a detailed leak analysis, rerun with: --leak-check=full