X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-1.7 required=5.0	tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE
X-Spam-Check-By: sourceware.org
Message-ID: <4F3C09D9.6000406@acm.org>
Date: Wed, 15 Feb 2012 11:39:05 -0800
From: David Rothenberger <daveroth@acm.org>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.1) Gecko/20120208 Thunderbird/10.0.1
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: STC for libapr1 failure
References: <4F3A14A8.4090506@acm.org> <20120214140240.GB25918@calimero.vinschen.de> <20120214144551.GC25918@calimero.vinschen.de> <4F3AA0BB.7000806@acm.org> <20120214182452.GK25918@calimero.vinschen.de> <4F3AD58A.9040106@acm.org> <20120215153851.GQ25918@calimero.vinschen.de>
In-Reply-To: <20120215153851.GQ25918@calimero.vinschen.de>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
Reply-To: cygwin@cygwin.com
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On 2/15/2012 7:38 AM, Corinna Vinschen wrote:
> Did I mention that I hate synchronization problems?  Anyway, I think I
> found the problem.  I applied a patch which fixes the problem for me
> and, surprise!, the flock test still runs fine, too.  I've just uploaded
> a new snapshot.  Please give it a try.

All the procmutex tests pass now! Awesome!

But... now one of the flock tests is failing. It takes a while to
extract a STC from the APR test suite because everything is written in
APR-ese and I have to convert every APR call into the base C library
calls. I'll work on that over the next day or three.

The gist of the test that's failing is this:

 * Create a file.
 * Get an exclusive flock on it.
 * Spawn a child process that attempts to get an exclusive, non-blocking
   lock on the file.

The test is expecting that the child will not be able to get the lock,
but the child is able to.

-- 
David Rothenberger  ----  daveroth@acm.org

Hubbard's Law:
        Don't take life too seriously; you won't get out of it alive.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

