]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
regtest: add creat64 to debuginfo sdleak filters
authorPaul Floyd <pjfloyd@wanadoo.fr>
Sat, 16 Mar 2024 07:48:10 +0000 (08:48 +0100)
committerPaul Floyd <pjfloyd@wanadoo.fr>
Sat, 16 Mar 2024 07:48:10 +0000 (08:48 +0100)
All tests in none for pass for me on F39 amd64 with debuginfo
installed.

none/tests/filter_fdleak

index f7637abd015e759f2122f7dfb387fb61e1e96102..b56c563f511d6da582552752aca9ab3f6f6ac481 100755 (executable)
@@ -27,6 +27,7 @@ perl -p -e 's/ _close / close /;s/ _openat / creat /;s/internet/AF_INET socket 4
 # painfully minor variations between them.
 perl -p -0 -e 's/(Open[^\n]*\n)(   (at|by)[^\n]*\n)+/$1   ...\n/gs' |
 
-# With glibc debuginfo installed we might see syscal-template.S or close.c
+# With glibc debuginfo installed we might see syscall-template.S, close.c or creat64.c
 perl -p -e "s/\(syscall-template.S:[0-9]*\)/(in \/...libc...)/" |
-perl -p -e "s/\(close.c:[0-9]*\)/(in \/...libc...)/"
+perl -p -e "s/\(close.c:[0-9]*\)/(in \/...libc...)/" |
+perl -p -e "s/\(creat64.c:[0-9]*\)/(in \/...libc...)/"