]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Illumos regtest: a couple of fixes to none fd tests
authorPaul Floyd <pjfloyd@wanadoo.fr>
Sat, 9 Nov 2024 17:43:20 +0000 (18:43 +0100)
committerPaul Floyd <pjfloyd@wanadoo.fr>
Sat, 9 Nov 2024 17:43:20 +0000 (18:43 +0100)
none/tests/fdleak_creat_sup.supp
none/tests/filter_fdleak

index f0c4034224738111fad054a795392d0d2bc20d7c..216a5b3738be316d49f67928305368109f68684d 100644 (file)
    fun:*open*
    fun:main
 }
+{
+   sup4
+   CoreError:FdNotClosed
+   ...
+   fun:*open*
+   fun:*creat*
+   fun:main
+}
+
index a63c2c7e58bced60e3b7dcb93a3a28dc9767023b..7de2f6eb18c25d9fd7f613bb170620f1f79c258e 100755 (executable)
@@ -27,6 +27,7 @@ sed '/by 0x........: creat (in \/...libc...)/d' |
 
 # Solaris specific fdleak filters
 perl -p -e 's/ __close / close /' |
+perl -p -e 's/ __write / write /' |
 sed '/ _so_socket /d;' |
 awk '/ socket /{sub(/ by /, " at "); print; next}{print}' |
 awk '/ at .* _syscall6 /{getline; getline; sub(/ by /, " at "); print; next}{print}' |