diff options
author | 2021-03-11 07:58:29 +0000 | |
---|---|---|
committer | 2021-03-11 07:58:43 +0000 | |
commit | 88a7537e01bf74739ffe3f63a5e9a929646e3053 (patch) | |
tree | 43231e26643974c1145bd1bcb1f84176c0666bb7 /dev-util/ltrace/files | |
parent | www-apache/mod_xsendfile: EAPI=7, fix docs, become maintainer (diff) | |
download | gentoo-88a7537e01bf74739ffe3f63a5e9a929646e3053.tar.gz gentoo-88a7537e01bf74739ffe3f63a5e9a929646e3053.tar.bz2 gentoo-88a7537e01bf74739ffe3f63a5e9a929646e3053.zip |
dev-util/ltrace: disable munmap test, disable sandbox
Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'dev-util/ltrace/files')
-rw-r--r-- | dev-util/ltrace/files/ltrace-0.7.3-disable-munmap-test.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/dev-util/ltrace/files/ltrace-0.7.3-disable-munmap-test.patch b/dev-util/ltrace/files/ltrace-0.7.3-disable-munmap-test.patch new file mode 100644 index 000000000000..fdd7412efeda --- /dev/null +++ b/dev-util/ltrace/files/ltrace-0.7.3-disable-munmap-test.patch @@ -0,0 +1,15 @@ +--- a/testsuite/ltrace.main/system_calls.exp ++++ b/testsuite/ltrace.main/system_calls.exp +@@ -29,8 +29,10 @@ if [regexp {ELF from incompatible architecture} $exec_output] { + } + + +-set pattern "SYS_munmap" +-ltrace_verify_output ${objdir}/${subdir}/${testfile}.ltrace $pattern 2 ++## disabled in Gentoo: libc's stdio tends to call (or not to call) munmap ++## depending on heuristics of stdio buffer sizes. ++##set pattern "SYS_munmap" ++##ltrace_verify_output ${objdir}/${subdir}/${testfile}.ltrace $pattern 2 + set pattern "SYS_write" + ltrace_verify_output ${objdir}/${subdir}/${testfile}.ltrace $pattern 1 + set pattern "SYS_unlink" |