[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: SVNSERVE Tests Failing

From: Eric Gillespie <epg_at_pretzelnet.org>
Date: 2003-02-03 03:28:58 CET

Mix <mixtim@acm.org> writes:

> Well, I was testing the script today (without causing a failure) and
> this showed up in the output:
>
> CMD: svnadmin "create" "repositories/prop_tests-11"
> CMD: svnadmin dump "local_tmp/repos" | svnadmin load
> "repositories/prop_tests-11"
> CMD: svn "co" "--username" "jrandom" "--password" "rayjandom"
> "svn://localhost/repositories/prop_tests-11" "working_copies/prop_tests-11"
> CMD: svn "propset" "--revprop" "-r" "0" "cash-sound" "cha-ching!"
> "working_copies/prop_tests-11"
> svn: A repository hook failed.
> svn: pre-revprop-change hook failed with error output:
>
> FAIL: prop_tests.py 11: set and get a revprop change
> END: prop_tests.py

Yep, that's caused by the apr problem i reported. Not sure why
only some people see it. Apply this patch to apr
threadproc/unix/proc.c:

Index: proc.c
===================================================================
RCS file: /home/cvspublic/apr/threadproc/unix/proc.c,v
retrieving revision 1.62
diff -a -u -r1.62 proc.c
--- proc.c 6 Jan 2003 23:44:38 -0000 1.62
+++ proc.c 24 Jan 2003 01:43:42 -0000
@@ -474,7 +474,11 @@
         waitpid_options |= WNOHANG;
     }
 
- if ((pstatus = waitpid(proc->pid, &exit_int, waitpid_options)) > 0) {
+ do {
+ pstatus = waitpid(proc->pid, &exit_int, waitpid_options);
+ } while (pstatus < 0 && errno == EINTR);
+
+ if (pstatus > 0) {
         proc->pid = pstatus;
 
         if (WIFEXITED(exit_int)) {

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Feb 3 03:29:57 2003

This is an archived mail posted to the Subversion Dev mailing list.