subversion/subversion-1.8.x-fix-ppc-tests.patch
Andreas Stieger 02b588ae2f Accepting request 207532 from home:AndreasStieger:branches:svn-ppc
- print error logs on on regression test failures
- always build with and statically link to in-tree SQLite to 
  prevent failures with SQLite 3.8
- fix regression tests for ppc/ppc64 architectures, found in
  openSUSE package build and fixed with upstream developers, adding
  subversion-1.8.x-fix-ppc-tests.patch

OBS-URL: https://build.opensuse.org/request/show/207532
OBS-URL: https://build.opensuse.org/package/show/devel:tools:scm:svn/subversion?expand=0&rev=144
2013-11-18 22:17:00 +00:00

48 lines
2.0 KiB
Diff

From: Bert Huijben <rhuijben@collab.net>
Date: Mon, 18 Nov 2013 20:43:23 +0000
Subject: [PATCH] fix regression test failures on ppc/ppc64
Upstream: committed
References: https://svn.apache.org/viewvc?view=revision&revision=1543145
Fixes regression test failures on ppc/ppc64.
[ 1518s] At least one test FAILED, checking /home/abuild/rpmbuild/BUILD/subversion-1.8.5/tests.log
[ 1518s] FAIL: wc_tests.py 7: inaccessible .svn/wc.db
[ 1518s] FAIL: wc_tests.py 8: corrupt .svn/wc.db
[ 1518s] FAIL: wc_tests.py 9: zero-length .svn/wc.db
[ 1518s] FAIL: wc_tests.py 10: missing .svn/wc.db
[ 1518s] FAIL: wc_tests.py 12: missing .svn/wc.db, maybe valid .svn/entries
[ 1518s] Summary of test results:
------------------------------------------------------------------------
r1543145 | rhuijben | 2013-11-18 20:43:23 +0000 (Mon, 18 Nov 2013) | 9 lines
Changed paths:
M /subversion/trunk/subversion/svn/status-cmd.c
Resolve a strange error that somehow occurred only on some specific powerpc
architectures. The real problem is that we didn't properly detect the end of
the variable argument list, so it can fail on all architectures.
Found by: astieger
* subversion/svn/status-cmd.c
(svn_cl__status): Add missing end of warning status values marker.
---
subversion/svn/status-cmd.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
Index: subversion-1.8.4/subversion/svn/status-cmd.c
===================================================================
--- subversion-1.8.4.orig/subversion/svn/status-cmd.c 2013-07-27 05:00:17.000000000 +0100
+++ subversion-1.8.4/subversion/svn/status-cmd.c 2013-11-18 20:57:53.000000000 +0000
@@ -358,7 +358,8 @@ svn_cl__status(apr_getopt_t *os,
NULL, opt_state->quiet,
/* not versioned: */
SVN_ERR_WC_NOT_WORKING_COPY,
- SVN_ERR_WC_PATH_NOT_FOUND));
+ SVN_ERR_WC_PATH_NOT_FOUND,
+ SVN_NO_ERROR));
if (opt_state->xml)
SVN_ERR(print_finish_target_xml(repos_rev, iterpool));