ALT Linux repos
Group :: Development/Debuggers
RPM: ltrace
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Patch: ltrace-0.7.91.0.198.git82c6640-disable_glibc_core_debuginfo_tests.patch
Download
Download
From 27d4c892c22d4848f9ffdb6df143505a1b5885a6 Mon Sep 17 00:00:00 2001
From: Grigory Ustinov <grenka@altlinux.org>
Date: Wed, 22 Nov 2017 10:17:15 +0300
Subject: [PATCH] Disable glibc-core-debuginfo tests
---
testsuite/ltrace.main/dwarf.exp | 26 +++++++++++---------------
1 file changed, 11 insertions(+), 15 deletions(-)
diff --git a/testsuite/ltrace.main/dwarf.exp b/testsuite/ltrace.main/dwarf.exp
index faa6d39..aa148da 100644
--- a/testsuite/ltrace.main/dwarf.exp
+++ b/testsuite/ltrace.main/dwarf.exp
@@ -9,7 +9,6 @@
# built without elfutils. You'll still be able to run this test directly (with
# runtest) and see it fail
-
proc run_dwarf_test {ref_output ltrace_opts} {
global srcdir subdir objdir
@@ -132,7 +131,6 @@ run_dwarf_test $ref_output_e $ltrace_opts_e
# was called and not anything particular about the arguments
set ltrace_opts_e {"-l" "libc.so*"}
set ref_output_e [subst -nocommands -novariables {
-dwarf->usleep(33) * = 0
dwarf->nanosleep(.*
} ]
run_dwarf_test $ref_output_e $ltrace_opts_e
@@ -141,23 +139,21 @@ set ltrace_opts_e {"-L" "-x" "@libc.so*-__nanosleep_nocancel@libc.so.6"}
set ref_output_e [subst -nocommands -novariables {
ftell@libc.so.6(0x[0-9a-z]*
strlen@libc.so.6(.*
-usleep@libc.so.6(33 <unfinished ...>
nanosleep@libc.so.6(.*
-<... usleep resumed> ) * = 0
nanosleep@libc.so.6(.*
} ]
run_dwarf_test $ref_output_e $ltrace_opts_e
# Make sure the DWARF filtering and the alias finding work well together
-set ltrace_opts_e {"-L" "-x" "ftell@libc.so*"}
-set ref_output_e [subst -nocommands -novariables {
-ftell@libc.so.6(0x[0-9a-z]*) * = -1
-} ]
-run_dwarf_test $ref_output_e $ltrace_opts_e
-
-set ltrace_opts_e {"-L" "-x" "*ftell@libc.so*"}
-set ref_output_e [subst -nocommands -novariables {
-ftell@libc.so.6(0x[0-9a-z]*) * = -1
-} ]
-run_dwarf_test $ref_output_e $ltrace_opts_e
+#set ltrace_opts_e {"-L" "-x" "ftell@libc.so*"}
+#set ref_output_e [subst -nocommands -novariables {
+#ftell@libc.so.6(0x[0-9a-z]*) * = -1
+#} ]
+#run_dwarf_test $ref_output_e $ltrace_opts_e
+
+#set ltrace_opts_e {"-L" "-x" "*ftell@libc.so*"}
+#set ref_output_e [subst -nocommands -novariables {
+#ftell@libc.so.6(0x[0-9a-z]*) * = -1
+#} ]
+#run_dwarf_test $ref_output_e $ltrace_opts_e
--
2.10.4