More testsuite patches.
This commit is contained in:
parent
4fb08dde4c
commit
c468e10c94
36
ltrace-0.5-testsuite.patch
Normal file
36
ltrace-0.5-testsuite.patch
Normal file
@ -0,0 +1,36 @@
|
||||
diff -urpd ltrace-0.5-orig/testsuite/ltrace.main/system_calls.exp ltrace-0.5/testsuite/ltrace.main/system_calls.exp
|
||||
--- ltrace-0.5-orig/testsuite/ltrace.main/system_calls.exp 2006-07-14 16:51:31.000000000 -0400
|
||||
+++ ltrace-0.5/testsuite/ltrace.main/system_calls.exp 2006-07-14 17:12:58.000000000 -0400
|
||||
@@ -40,9 +40,9 @@ set pattern "SYS_brk"
|
||||
ltrace_verify_output ${srcdir}/${subdir}/${testfile}.ltrace $pattern 1
|
||||
set pattern "SYS_open"
|
||||
ltrace_verify_output ${srcdir}/${subdir}/${testfile}.ltrace $pattern 1
|
||||
-set pattern "SYS_fstat"
|
||||
+set pattern "SYS_(new)?fstat"
|
||||
ltrace_verify_output ${srcdir}/${subdir}/${testfile}.ltrace $pattern 1
|
||||
-set pattern "SYS_mmap"
|
||||
+set pattern "SYS_(old_)?mmap"
|
||||
ltrace_verify_output ${srcdir}/${subdir}/${testfile}.ltrace $pattern 1
|
||||
set pattern "SYS_close"
|
||||
ltrace_verify_output ${srcdir}/${subdir}/${testfile}.ltrace $pattern 1
|
||||
@@ -55,7 +55,7 @@ set pattern "SYS_symlink"
|
||||
ltrace_verify_output ${srcdir}/${subdir}/${testfile}.ltrace $pattern 1
|
||||
set pattern "SYS_unlink"
|
||||
ltrace_verify_output ${srcdir}/${subdir}/${testfile}.ltrace $pattern 1
|
||||
-set pattern "SYS_stat"
|
||||
+set pattern "SYS_(new)?stat"
|
||||
ltrace_verify_output ${srcdir}/${subdir}/${testfile}.ltrace $pattern 1
|
||||
set pattern "SYS_access"
|
||||
ltrace_verify_output ${srcdir}/${subdir}/${testfile}.ltrace $pattern 1
|
||||
diff -urpd ltrace-0.5-orig/testsuite/ltrace.minor/trace-clone.exp ltrace-0.5/testsuite/ltrace.minor/trace-clone.exp
|
||||
--- ltrace-0.5-orig/testsuite/ltrace.minor/trace-clone.exp 2006-07-14 16:51:31.000000000 -0400
|
||||
+++ ltrace-0.5/testsuite/ltrace.minor/trace-clone.exp 2006-07-14 16:55:52.000000000 -0400
|
||||
@@ -30,7 +30,7 @@ if [regexp {ELF from incompatible archit
|
||||
fail "32-bit ltrace can not perform on 64-bit PUTs and rebuild ltrace in 64 bit mode!"
|
||||
return
|
||||
} elseif [ regexp {Operation not permitted} $exec_output ] {
|
||||
- fail "Operation not permitted, see testrun.log for details!"
|
||||
+ xfail "Operation not permitted, see testrun.log for details!"
|
||||
return
|
||||
} elseif [ regexp {killed by SIGKILL} $exec_output ] {
|
||||
fail "killed by SIGKILL!"
|
||||
@ -1,12 +1,12 @@
|
||||
Summary: Tracks runtime library calls from dynamically linked executables.
|
||||
Name: ltrace
|
||||
Version: 0.5
|
||||
Release: 1.0.45svn.1
|
||||
Release: 1.0.45svn.2
|
||||
Source: ltrace-0.5.tar.gz
|
||||
Patch2: ltrace-opd.patch
|
||||
Patch3: ltrace-ppc32fc5.patch
|
||||
Patch4: ltrace-0.5-gnuhash.patch
|
||||
Patch5: ltrace-0.5-xfail.patch
|
||||
Patch5: ltrace-0.5-testsuite.patch
|
||||
License: GPL
|
||||
Group: Development/Debuggers
|
||||
ExclusiveArch: %{ix86} x86_64 ia64 ppc ppc64 s390 s390x alpha sparc
|
||||
@ -56,9 +56,9 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%config /etc/ltrace.conf
|
||||
|
||||
%changelog
|
||||
* Fri Jul 14 2006 Petr Machata <pmachata@redhat.com> - 0.5-1.0.45svn.1
|
||||
* Fri Jul 14 2006 Petr Machata <pmachata@redhat.com> - 0.5-1.0.45svn.2
|
||||
- adding .gnu.hash patch to support new ELF hash table section
|
||||
- adding xfail patch to silent clone failing for missing privileges
|
||||
- adding testsuite patch to silent some bogus failures
|
||||
|
||||
* Fri Jul 14 2006 Petr Machata <pmachata@redhat.com> - 0.5-1.0.45svn
|
||||
- adding upstream (svn) version. It contains most of patches that we
|
||||
|
||||
Loading…
Reference in New Issue
Block a user