GNU bug report logs - #25539
26.0.50; filenotify-tests.el fails on Windows (32 and 64 bits)

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Severity: minor; Reported by: Juanma Barranquero <lekktu@HIDDEN>; dated Thu, 26 Jan 2017 00:05:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
bug Marked as fixed in versions 26.1. Request was from Noam Postavsky <npostavs@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 25539 <at> debbugs.gnu.org:


Received: (at 25539) by debbugs.gnu.org; 27 Jan 2017 08:32:02 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jan 27 03:32:02 2017
Received: from localhost ([127.0.0.1]:46935 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1cX1ww-0004fR-Ad
	for submit <at> debbugs.gnu.org; Fri, 27 Jan 2017 03:32:02 -0500
Received: from eggs.gnu.org ([208.118.235.92]:33674)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1cX1wu-0004ez-Er
 for 25539 <at> debbugs.gnu.org; Fri, 27 Jan 2017 03:32:00 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <eliz@HIDDEN>) id 1cX1wl-00031x-94
 for 25539 <at> debbugs.gnu.org; Fri, 27 Jan 2017 03:31:55 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-2.4 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD
 autolearn=disabled version=3.3.2
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:59695)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@HIDDEN>)
 id 1cX1wl-00031r-5q; Fri, 27 Jan 2017 03:31:51 -0500
Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3981
 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1cX1wk-0004pB-Da; Fri, 27 Jan 2017 03:31:50 -0500
Date: Fri, 27 Jan 2017 10:31:38 +0200
Message-Id: <83r33o29at.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Michael Albinus <michael.albinus@HIDDEN>
In-reply-to: <87k29hym2l.fsf@HIDDEN> (message from Michael Albinus on Fri, 27
 Jan 2017 08:54:42 +0100)
Subject: Re: bug#25539: 26.0.50;
 filenotify-tests.el fails on Windows (32 and 64 bits)
References: <CAAeL0SQMs14HWpLKdF8Gq_dK+cR0sn21Nqga83HFjkSSZ_zPLg@HIDDEN>
 <837f5h3hoj.fsf@HIDDEN> <87k29hym2l.fsf@HIDDEN>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-Spam-Score: -8.2 (--------)
X-Debbugs-Envelope-To: 25539
Cc: lekktu@HIDDEN, 25539 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Reply-To: Eli Zaretskii <eliz@HIDDEN>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -8.2 (--------)

> From: Michael Albinus <michael.albinus@HIDDEN>
> Cc: Juanma Barranquero <lekktu@HIDDEN>,  25539 <at> debbugs.gnu.org
> Date: Fri, 27 Jan 2017 08:54:42 +0100
> 
> > The root cause is that file-notify--test-cleanup-p expects the
> > notification descriptor(s) to be deleted from the hash table
> > maintained internally by filenotify.el, when the above happens.  But
> > that doesn't work on Windows, where deleting the parent directory
> > simply causes an error whose result is that the thread which watches
> > the filesystem changes exits abnormally, but the event is not
> > reported.  So in those cases the descriptor is not removed from the
> > hash table.
> >
> > The changes below make the tests succeed, but maybe the above means we
> > need to augment the w32notify implementation to clean up better in
> > this case.  Michael?
> 
> Yes, catching the error somehow in w32notify (don't know how) and fire
> up a `stopped' event is preferrable. I let it to you, whether this could
> be implemented.

I'll leave this bug open, although the test suite now passes.  I think
I see a way of generating 'stopped', but I'll need to test that (and
it will need more changes in filenotify.el and in the tests).

> If this is not possible, maybe we shall call
> `file-notify--rm-descriptor' in `file-notify-valid-p', when we detect
> that the descriptor is not valid anymore, but it still exists.

I don't see how this is possible, as file-notify-valid-p doesn't know
which descriptors are supposed to be removed.  And it will paper over
the real problem, so I'd prefer not to do that.

> > @@ -850,6 +850,8 @@ file-notify--test-with-events
> >  	;; After deleting the parent directory, the descriptor must
> >  	;; not be valid anymore.
> >  	(should-not (file-notify-valid-p file-notify--test-desc))
> > +        (if (eq system-type 'windows-nt)
> > +            (file-notify--rm-descriptor file-notify--test-desc))
> 
> It would be OK for me also to apply this patch. The test shall be
> 
> (if (string-equal (file-notify--test-library) "w32notify")
> 
> Otherwise, we would catch also the remote case when running the test on
> MS Windows. And a respective comment might serve why we apply this.

Done, thanks.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#25539; Package emacs. Full text available.

Message received at 25539 <at> debbugs.gnu.org:


Received: (at 25539) by debbugs.gnu.org; 27 Jan 2017 07:54:56 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jan 27 02:54:56 2017
Received: from localhost ([127.0.0.1]:46905 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1cX1N2-0003m1-AJ
	for submit <at> debbugs.gnu.org; Fri, 27 Jan 2017 02:54:56 -0500
Received: from mout.gmx.net ([212.227.15.18]:57819)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <michael.albinus@HIDDEN>) id 1cX1Mx-0003la-Pi
 for 25539 <at> debbugs.gnu.org; Fri, 27 Jan 2017 02:54:52 -0500
Received: from detlef.gmx.de ([93.197.214.250]) by mail.gmx.com (mrgmx002
 [212.227.17.190]) with ESMTPSA (Nemesis) id 0MPUlV-1cbgCg22wD-004j3X; Fri, 27
 Jan 2017 08:54:43 +0100
From: Michael Albinus <michael.albinus@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#25539: 26.0.50;
 filenotify-tests.el fails on Windows (32 and 64 bits)
References: <CAAeL0SQMs14HWpLKdF8Gq_dK+cR0sn21Nqga83HFjkSSZ_zPLg@HIDDEN>
 <837f5h3hoj.fsf@HIDDEN>
Date: Fri, 27 Jan 2017 08:54:42 +0100
In-Reply-To: <837f5h3hoj.fsf@HIDDEN> (Eli Zaretskii's message of "Thu, 26 Jan
 2017 18:33:00 +0200")
Message-ID: <87k29hym2l.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Provags-ID: V03:K0:9bfY5tL6wbWlViFRBk9y1RQjqrO0o5/R2T3Fbsk9rJPWsq7XOvr
 k9sySRprmySEZBnttxsQDm+yE9Ghfy6hKV0ReXkEvrhy+TNSNQDzksIyG3Gra2lKcgCBNhB
 CSEl+qIJmgBOhjaQOiVrx28vVyqMcHWYi4xG8IlfPoaeowUWUBhWgSoCx3KB5V2wX5O5c/f
 WUq1ACCGeLY2aMQlAlh2w==
X-UI-Out-Filterresults: notjunk:1;V01:K0:F3uZcrPKpJc=:up/axnQAftGvZCNm7LNXUU
 jxkbv5pQyMnYWNpPYCmdMkr1BIdGZsgN0a8Hr67+leaumyqIYh0WHorNeWLS4f5Iaj1ute84x
 qOizemhz5/UTbIDB1xmgcrkod9G3uiFbhMahc5S25VKZRtKCSO+s6nyBV1b5HFnAT8AL0Ww1t
 RqiCwcUsRINMMEuUmE24buc4J+l9kN4CYbUpW7Ufb+dhhU2WzwJHe5072zqjm34wWMukISIWs
 EoyJyOqafHWtf4E8MloIGzfSv9w/CAuBubRj005RccfPWC5d3j1n4kPZ5P+wYHP1vVx1syTYo
 r68QFsVVjvcAkkSXHP+G1t4emK0DBIRedh9Ka5x20B/A25/i6/XMLaMP4mRIlkGsuPgUu/wPq
 6qhW3ztSCXtzMMPGGjsxILB48TomT4VCPYfB2DNgjnEUKd6phVh9UAimnC6IuLh/p/IRpLrxD
 ksdy/EcywjdHiHIWUgzHEp+ivw5CSmiF41vJWrJr15TccsSwybaiGBdnEbhvbICpmBBPmPQZ/
 8SyNhqmKBLw833R9VjtceNFTCWTHPKbWR1DnXhYoaLpwMC23yO8P5Vlp6EUwUpV+3vZXpZX5z
 rtV4deT8YIEyP4SnNUJwKGyq6YorvDn35B5xPgTFXgsBNPaoQYHptGlTR5qmk/zTjFshK7L9e
 7D4y0wruswnVzyr+i94/g+yGSbVsxYvXmdPvyYHEo7q8GnuE6OuJR9C3R9gAaLiuqafdNJgHk
 QO5FRscn7kJ0LdI3bh+IWydtj0cIk0VzOs5IuQugqnl6DZbf7RwZ77ocvRjl05fHV5OogZuam
 1MEhGCP
X-Spam-Score: -1.4 (-)
X-Debbugs-Envelope-To: 25539
Cc: Juanma Barranquero <lekktu@HIDDEN>, 25539 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.4 (-)

Eli Zaretskii <eliz@HIDDEN> writes:

Hi Eli,

>> 4 unexpected results:
>> FAILED file-notify-test04-file-validity
>> FAILED file-notify-test05-dir-validity
>> FAILED file-notify-test06-many-events
>> FAILED file-notify-test08-watched-file-in-watched-dir
>
> The problem is in file-notify--test-cleanup-p, and it happens only
> when the parent directory of the file(s) being watched is deleted.
>
> The root cause is that file-notify--test-cleanup-p expects the
> notification descriptor(s) to be deleted from the hash table
> maintained internally by filenotify.el, when the above happens.  But
> that doesn't work on Windows, where deleting the parent directory
> simply causes an error whose result is that the thread which watches
> the filesystem changes exits abnormally, but the event is not
> reported.  So in those cases the descriptor is not removed from the
> hash table.
>
> The changes below make the tests succeed, but maybe the above means we
> need to augment the w32notify implementation to clean up better in
> this case.  Michael?

Yes, catching the error somehow in w32notify (don't know how) and fire
up a `stopped' event is preferrable. I let it to you, whether this could
be implemented.

If this is not possible, maybe we shall call
`file-notify--rm-descriptor' in `file-notify-valid-p', when we detect
that the descriptor is not valid anymore, but it still exists.

> @@ -850,6 +850,8 @@ file-notify--test-with-events
>  	;; After deleting the parent directory, the descriptor must
>  	;; not be valid anymore.
>  	(should-not (file-notify-valid-p file-notify--test-desc))
> +        (if (eq system-type 'windows-nt)
> +            (file-notify--rm-descriptor file-notify--test-desc))

It would be OK for me also to apply this patch. The test shall be

(if (string-equal (file-notify--test-library) "w32notify")

Otherwise, we would catch also the remote case when running the test on
MS Windows. And a respective comment might serve why we apply this.

Best regards, Michael.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#25539; Package emacs. Full text available.

Message received at 25539 <at> debbugs.gnu.org:


Received: (at 25539) by debbugs.gnu.org; 26 Jan 2017 16:33:30 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jan 26 11:33:30 2017
Received: from localhost ([127.0.0.1]:45772 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1cWmzK-0001Q1-AC
	for submit <at> debbugs.gnu.org; Thu, 26 Jan 2017 11:33:30 -0500
Received: from eggs.gnu.org ([208.118.235.92]:40123)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1cWmzI-0001Pp-Qb
 for 25539 <at> debbugs.gnu.org; Thu, 26 Jan 2017 11:33:29 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <eliz@HIDDEN>) id 1cWmz8-0000pV-Qy
 for 25539 <at> debbugs.gnu.org; Thu, 26 Jan 2017 11:33:23 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-2.4 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD
 autolearn=disabled version=3.3.2
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:50347)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@HIDDEN>)
 id 1cWmz8-0000pR-Ms; Thu, 26 Jan 2017 11:33:18 -0500
Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3613
 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1cWmz7-0007zm-Es; Thu, 26 Jan 2017 11:33:18 -0500
Date: Thu, 26 Jan 2017 18:33:00 +0200
Message-Id: <837f5h3hoj.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Juanma Barranquero <lekktu@HIDDEN>,
 Michael Albinus <michael.albinus@HIDDEN>
In-reply-to: <CAAeL0SQMs14HWpLKdF8Gq_dK+cR0sn21Nqga83HFjkSSZ_zPLg@HIDDEN>
 (message from Juanma Barranquero on Thu, 26 Jan 2017 01:03:09 +0100)
Subject: Re: bug#25539: 26.0.50;
 filenotify-tests.el fails on Windows (32 and 64 bits)
References: <CAAeL0SQMs14HWpLKdF8Gq_dK+cR0sn21Nqga83HFjkSSZ_zPLg@HIDDEN>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-Spam-Score: -8.2 (--------)
X-Debbugs-Envelope-To: 25539
Cc: 25539 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Reply-To: Eli Zaretskii <eliz@HIDDEN>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -8.2 (--------)

> From: Juanma Barranquero <lekktu@HIDDEN>
> Date: Thu, 26 Jan 2017 01:03:09 +0100
> 
> 4 unexpected results:
> FAILED file-notify-test04-file-validity
> FAILED file-notify-test05-dir-validity
> FAILED file-notify-test06-many-events
> FAILED file-notify-test08-watched-file-in-watched-dir

The problem is in file-notify--test-cleanup-p, and it happens only
when the parent directory of the file(s) being watched is deleted.

The root cause is that file-notify--test-cleanup-p expects the
notification descriptor(s) to be deleted from the hash table
maintained internally by filenotify.el, when the above happens.  But
that doesn't work on Windows, where deleting the parent directory
simply causes an error whose result is that the thread which watches
the filesystem changes exits abnormally, but the event is not
reported.  So in those cases the descriptor is not removed from the
hash table.

The changes below make the tests succeed, but maybe the above means we
need to augment the w32notify implementation to clean up better in
this case.  Michael?

diff --git a/test/lisp/filenotify-tests.el b/test/lisp/filenotify-tests.el
index d237d0c..5d31251 100644
--- a/test/lisp/filenotify-tests.el
+++ b/test/lisp/filenotify-tests.el
@@ -850,6 +850,8 @@ file-notify--test-with-events
 	;; After deleting the parent directory, the descriptor must
 	;; not be valid anymore.
 	(should-not (file-notify-valid-p file-notify--test-desc))
+        (if (eq system-type 'windows-nt)
+            (file-notify--rm-descriptor file-notify--test-desc))
 
         ;; The environment shall be cleaned up.
         (file-notify--test-cleanup-p))
@@ -906,6 +908,8 @@ file-notify--test-with-events
 	 (file-notify--test-timeout)
 	 (not (file-notify-valid-p file-notify--test-desc)))
         (should-not (file-notify-valid-p file-notify--test-desc))
+        (if (eq system-type 'windows-nt)
+            (file-notify--rm-descriptor file-notify--test-desc))
 
         ;; The environment shall be cleaned up.
         (file-notify--test-cleanup-p))
@@ -975,6 +979,8 @@ file-notify--test-with-events
             (file-notify--test-read-event)
             (delete-file file)))
         (delete-directory file-notify--test-tmpfile)
+        (if (eq system-type 'windows-nt)
+            (file-notify--rm-descriptor file-notify--test-desc))
 
         ;; The environment shall be cleaned up.
         (file-notify--test-cleanup-p))
@@ -1184,6 +1190,9 @@ file-notify--test-with-events
           (delete-directory file-notify--test-tmpfile 'recursive))
         (should-not (file-notify-valid-p file-notify--test-desc1))
         (should-not (file-notify-valid-p file-notify--test-desc2))
+        (when (eq system-type 'windows-nt)
+          (file-notify--rm-descriptor file-notify--test-desc1)
+          (file-notify--rm-descriptor file-notify--test-desc2))
 
         ;; The environment shall be cleaned up.
         (file-notify--test-cleanup-p))




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#25539; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 26 Jan 2017 00:04:09 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jan 25 19:04:09 2017
Received: from localhost ([127.0.0.1]:43944 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1cWXXr-0008Sg-Up
	for submit <at> debbugs.gnu.org; Wed, 25 Jan 2017 19:04:08 -0500
Received: from eggs.gnu.org ([208.118.235.92]:40372)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <lekktu@HIDDEN>) id 1cWXXp-0008SD-RA
 for submit <at> debbugs.gnu.org; Wed, 25 Jan 2017 19:04:07 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <lekktu@HIDDEN>) id 1cWXXi-0006Qi-LB
 for submit <at> debbugs.gnu.org; Wed, 25 Jan 2017 19:04:00 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM,
 HTML_MESSAGE,T_DKIM_INVALID autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:49853)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <lekktu@HIDDEN>) id 1cWXXi-0006Qe-HG
 for submit <at> debbugs.gnu.org; Wed, 25 Jan 2017 19:03:58 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:59562)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <lekktu@HIDDEN>) id 1cWXXg-0000hj-4o
 for bug-gnu-emacs@HIDDEN; Wed, 25 Jan 2017 19:03:58 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <lekktu@HIDDEN>) id 1cWXXd-0006Pz-Qs
 for bug-gnu-emacs@HIDDEN; Wed, 25 Jan 2017 19:03:56 -0500
Received: from mail-wm0-x230.google.com ([2a00:1450:400c:c09::230]:36053)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
 (Exim 4.71) (envelope-from <lekktu@HIDDEN>) id 1cWXXd-0006Pi-Gd
 for bug-gnu-emacs@HIDDEN; Wed, 25 Jan 2017 19:03:53 -0500
Received: by mail-wm0-x230.google.com with SMTP id c85so49627123wmi.1
 for <bug-gnu-emacs@HIDDEN>; Wed, 25 Jan 2017 16:03:51 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=mime-version:from:date:message-id:subject:to;
 bh=osifiFRkQB6TX7eIG4zazd1a0LatLxUUmlNHjq8wtcc=;
 b=ns4XFLYoGAgoZnTuflHkWhyN5/r+VL3vHcbKc2LtR+/bf8CUy2t4Oj2J27ivOoprQK
 wNMJ8P+yPm4uQXMHc8m+0eVyMPpyskjQVFU/VXnop7Xr9sk7abCOVbYGKdw9TLyBvUXo
 q0CG7yOLw6x7foxjgRNIVCbwbzFpl47c/7Ubav4RAKjwp+ivHki9gemvtxxGUWjjladt
 gqKFrXjR8OcDJX6TYGTACAwxE9pejwhKIY+HwfGBgoYKDLvB6ZOXjMzGl6d3vt0G5fAL
 xj8D5F/rBVCZRjWZEr/JRXaZsu5/OGbqxfHMY3db3rESrsH6N/raxMvwxrFFE8KEAyrS
 Hp4Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:from:date:message-id:subject:to;
 bh=osifiFRkQB6TX7eIG4zazd1a0LatLxUUmlNHjq8wtcc=;
 b=o/0ZbHOkLsMsn88wn6ik8U0IHNPBjHVfC/rTjrBiCrHPN8vqwauPsesnw3SATVkwag
 zi45bGAbqr/ai+7rLRXk56KeYYemg9SUzk0ufMxct84Mbw38k1xN30f6545KDDQfwBt8
 OmXMTXwxjY8BtZAdzsRvgS0pWV+eTtyuP8JDN4uaehnQTJF1vb1vFtx/nHXdhP+3NEjo
 8W3nH4TsGPVQ2RX7zBJG8ArPuqbQNZdZq9I/vnHVYq2HEmFYXfdfplrtTvXCDxThCzuW
 7bCzlQqD1CmZ+m4H9HY4/Dk5aQ3cHUVsLxRDoUi+1e/Pam8Bs46Zm5RbP/zDI6SW2U24
 4ZBg==
X-Gm-Message-State: AIkVDXJMs7Q/EtvQbsjGsUUQcjbOo3InPe83TZcxA1xRIdmjne4wn+PfQ5fApygFSpeNKSAXGZErhh0ltX4tbw==
X-Received: by 10.223.153.15 with SMTP id x15mr5200wrb.179.1485389030352; Wed,
 25 Jan 2017 16:03:50 -0800 (PST)
MIME-Version: 1.0
Received: by 10.194.172.129 with HTTP; Wed, 25 Jan 2017 16:03:09 -0800 (PST)
From: Juanma Barranquero <lekktu@HIDDEN>
Date: Thu, 26 Jan 2017 01:03:09 +0100
Message-ID: <CAAeL0SQMs14HWpLKdF8Gq_dK+cR0sn21Nqga83HFjkSSZ_zPLg@HIDDEN>
Subject: 26.0.50; filenotify-tests.el fails on Windows (32 and 64 bits)
To: Bug-Gnu-Emacs <bug-gnu-emacs@HIDDEN>
Content-Type: multipart/alternative; boundary=f403045d5d7281f0630546f415e8
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.0 (----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -4.0 (----)

--f403045d5d7281f0630546f415e8
Content-Type: text/plain; charset=UTF-8

trunk@C:\...\test> mmake -s lisp/filenotify-tests
Testing lisp/filenotify-tests.el
Running 20 tests (2017-01-26 00:36:36+0100)
Library: `w32notify'
   passed   1/20  file-notify-test00-availability
  skipped   2/20  file-notify-test00-availability-remote
   passed   3/20  file-notify-test01-add-watch
  skipped   4/20  file-notify-test01-add-watch-remote
   passed   5/20  file-notify-test02-events
  skipped   6/20  file-notify-test02-events-remote
Reverting buffer `file-notify-test5408q2D'.
Reverting buffer `file-notify-test5408q2D'.
   passed   7/20  file-notify-test03-autorevert
  skipped   8/20  file-notify-test03-autorevert-remote
Test file-notify-test04-file-validity backtrace:
  (if (unwind-protect (setq value-4 (apply fn-2 args-3)) (setq form-de
  (let (form-description-6) (if (unwind-protect (setq value-4 (apply f
  (let ((value-4 (quote ert-form-evaluation-aborted-5))) (let (form-de
  (let ((fn-2 (function file-notify--test-no-descriptors)) (args-3 (li
  file-notify--test-cleanup-p()
  (let ((temporary-file-directory (make-temp-file "file-notify-test-pa
  (unwind-protect (let ((temporary-file-directory (make-temp-file "fil
  (closure (t) nil (let ((fn-194 (function file-notify--test-local-ena
  ert--run-test-internal([cl-struct-ert--test-execution-info [cl-struc
  ert-run-test([cl-struct-ert-test file-notify-test04-file-validity "C
  ert-run-or-rerun-test([cl-struct-ert--stats t [[cl-struct-ert-test f
  ert-run-tests(t #[385 "\306 \307\"\203G \211\211G\310U\203 \211@\20
  ert-run-tests-batch(nil)
  ert-run-tests-batch-and-exit(nil)
  eval((ert-run-tests-batch-and-exit nil))
  command-line-1(("-L" ";." "-l" "ert" "-l" "lisp/filenotify-tests.el"
  command-line()
  normal-top-level()
Test file-notify-test04-file-validity condition:
    (ert-test-failed
     ((should
       (file-notify--test-no-descriptors))
      :form
      (file-notify--test-no-descriptors)
      :value nil :explanation
      ("Watch descriptor(s) existent:"
       (38542300
"c:/Users/Juanma/AppData/Local/Temp/file-notify-test-parent5408RVW"
                 (nil . file-notify--test-event-handler)))))
   FAILED   9/20  file-notify-test04-file-validity
  skipped  10/20  file-notify-test04-file-validity-remote
Test file-notify-test05-dir-validity backtrace:
  (if (unwind-protect (setq value-4 (apply fn-2 args-3)) (setq form-de
  (let (form-description-6) (if (unwind-protect (setq value-4 (apply f
  (let ((value-4 (quote ert-form-evaluation-aborted-5))) (let (form-de
  (let ((fn-2 (function file-notify--test-no-descriptors)) (args-3 (li
  file-notify--test-cleanup-p()
  (progn (let ((value-269 (cl-gensym "ert-form-evaluation-aborted-")))
  (unwind-protect (progn (let ((value-269 (cl-gensym "ert-form-evaluat
  (closure (t) nil (let ((fn-250 (function file-notify--test-local-ena
  ert--run-test-internal([cl-struct-ert--test-execution-info [cl-struc
  ert-run-test([cl-struct-ert-test file-notify-test05-dir-validity "Ch
  ert-run-or-rerun-test([cl-struct-ert--stats t [[cl-struct-ert-test f
  ert-run-tests(t #[385 "\306 \307\"\203G \211\211G\310U\203 \211@\20
  ert-run-tests-batch(nil)
  ert-run-tests-batch-and-exit(nil)
  eval((ert-run-tests-batch-and-exit nil))
  command-line-1(("-L" ";." "-l" "ert" "-l" "lisp/filenotify-tests.el"
  command-line()
  normal-top-level()
Test file-notify-test05-dir-validity condition:
    (ert-test-failed
     ((should
       (file-notify--test-no-descriptors))
      :form
      (file-notify--test-no-descriptors)
      :value nil :explanation
      ("Watch descriptor(s) existent:"
       (38542240
"c:/Users/Juanma/AppData/Local/Temp/file-notify-test-parent54084zo"
                 (nil . ignore)))))
   FAILED  11/20  file-notify-test05-dir-validity
  skipped  12/20  file-notify-test05-dir-validity-remote
Test file-notify-test06-many-events backtrace:
  (if (unwind-protect (setq value-4 (apply fn-2 args-3)) (setq form-de
  (let (form-description-6) (if (unwind-protect (setq value-4 (apply f
  (let ((value-4 (quote ert-form-evaluation-aborted-5))) (let (form-de
  (let ((fn-2 (function file-notify--test-no-descriptors)) (args-3 (li
  file-notify--test-cleanup-p()
  (let ((n 1000) source-file-list target-file-list (default-directory
  (unwind-protect (let ((n 1000) source-file-list target-file-list (de
  (closure (t) nil (let ((fn-288 (function file-notify--test-local-ena
  ert--run-test-internal([cl-struct-ert--test-execution-info [cl-struc
  ert-run-test([cl-struct-ert-test file-notify-test06-many-events "Che
  ert-run-or-rerun-test([cl-struct-ert--stats t [[cl-struct-ert-test f
  ert-run-tests(t #[385 "\306 \307\"\203G \211\211G\310U\203 \211@\20
  ert-run-tests-batch(nil)
  ert-run-tests-batch-and-exit(nil)
  eval((ert-run-tests-batch-and-exit nil))
  command-line-1(("-L" ";." "-l" "ert" "-l" "lisp/filenotify-tests.el"
  command-line()
  normal-top-level()
Test file-notify-test06-many-events condition:
    (ert-test-failed
     ((should
       (file-notify--test-no-descriptors))
      :form
      (file-notify--test-no-descriptors)
      :value nil :explanation
      ("Watch descriptor(s) existent:"
       (38542336
"c:/Users/Juanma/AppData/Local/Temp/file-notify-test-parent5408F-u"
                 (nil . file-notify--test-event-handler)))))
   FAILED  13/20  file-notify-test06-many-events
  skipped  14/20  file-notify-test06-many-events-remote
   passed  15/20  file-notify-test07-backup
  skipped  16/20  file-notify-test07-backup-remote
Test file-notify-test08-watched-file-in-watched-dir backtrace:
  (if (unwind-protect (setq value-4 (apply fn-2 args-3)) (setq form-de
  (let (form-description-6) (if (unwind-protect (setq value-4 (apply f
  (let ((value-4 (quote ert-form-evaluation-aborted-5))) (let (form-de
  (let ((fn-2 (function file-notify--test-no-descriptors)) (args-3 (li
  file-notify--test-cleanup-p()
  (progn (let ((value-370 (cl-gensym "ert-form-evaluation-aborted-")))
  (let* ((--cl-dir-callback-- (function (lambda (event) (let ((file-no
  (unwind-protect (let* ((--cl-dir-callback-- (function (lambda (event
  (closure (t) nil (let ((fn-361 (function file-notify--test-local-ena
  ert--run-test-internal([cl-struct-ert--test-execution-info [cl-struc
  ert-run-test([cl-struct-ert-test file-notify-test08-watched-file-in-
  ert-run-or-rerun-test([cl-struct-ert--stats t [[cl-struct-ert-test f
  ert-run-tests(t #[385 "\306 \307\"\203G \211\211G\310U\203 \211@\20
  ert-run-tests-batch(nil)
  ert-run-tests-batch-and-exit(nil)
  eval((ert-run-tests-batch-and-exit nil))
  command-line-1(("-L" ";." "-l" "ert" "-l" "lisp/filenotify-tests.el"
  command-line()
  normal-top-level()
Test file-notify-test08-watched-file-in-watched-dir condition:
    (ert-test-failed
     ((should
       (file-notify--test-no-descriptors))
      :form
      (file-notify--test-no-descriptors)
      :value nil :explanation
      ("Watch descriptor(s) existent:"
       (38542360
"c:/Users/Juanma/AppData/Local/Temp/file-notify-test-parent5408RcK"
                 (nil closure ... ... ...)))))
   FAILED  17/20  file-notify-test08-watched-file-in-watched-dir
  skipped  18/20  file-notify-test08-watched-file-in-watched-dir-remote
  skipped  19/20  file-notify-test09-sufficient-resources
  skipped  20/20  file-notify-test09-sufficient-resources-remote

Ran 20 tests, 5 results as expected, 4 unexpected, 11 skipped (2017-01-26
00:38:10+0100)

4 unexpected results:
   FAILED  file-notify-test04-file-validity
   FAILED  file-notify-test05-dir-validity
   FAILED  file-notify-test06-many-events
   FAILED  file-notify-test08-watched-file-in-watched-dir

11 skipped results:
  SKIPPED  file-notify-test00-availability-remote
  SKIPPED  file-notify-test01-add-watch-remote
  SKIPPED  file-notify-test02-events-remote
  SKIPPED  file-notify-test03-autorevert-remote
  SKIPPED  file-notify-test04-file-validity-remote
  SKIPPED  file-notify-test05-dir-validity-remote
  SKIPPED  file-notify-test06-many-events-remote
  SKIPPED  file-notify-test07-backup-remote
  SKIPPED  file-notify-test08-watched-file-in-watched-dir-remote
  SKIPPED  file-notify-test09-sufficient-resources
  SKIPPED  file-notify-test09-sufficient-resources-remote

Makefile:115: recipe for target `lisp/filenotify-tests.log' failed
make[1]: *** [lisp/filenotify-tests.log] Error 1
Makefile:152: recipe for target `lisp/filenotify-tests' failed
make: *** [lisp/filenotify-tests] Error 2

--f403045d5d7281f0630546f415e8
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div><br></div><div><div>trunk@C:\...\test&gt; mmake -s li=
sp/filenotify-tests</div><div>Testing lisp/filenotify-tests.el</div><div>Ru=
nning 20 tests (2017-01-26 00:36:36+0100)</div><div>Library: `w32notify&#39=
;</div><div>=C2=A0 =C2=A0passed =C2=A0 1/20 =C2=A0file-notify-test00-availa=
bility</div><div>=C2=A0 skipped =C2=A0 2/20 =C2=A0file-notify-test00-availa=
bility-remote</div><div>=C2=A0 =C2=A0passed =C2=A0 3/20 =C2=A0file-notify-t=
est01-add-watch</div><div>=C2=A0 skipped =C2=A0 4/20 =C2=A0file-notify-test=
01-add-watch-remote</div><div>=C2=A0 =C2=A0passed =C2=A0 5/20 =C2=A0file-no=
tify-test02-events</div><div>=C2=A0 skipped =C2=A0 6/20 =C2=A0file-notify-t=
est02-events-remote</div><div>Reverting buffer `file-notify-test5408q2D&#39=
;.</div><div>Reverting buffer `file-notify-test5408q2D&#39;.</div><div>=C2=
=A0 =C2=A0passed =C2=A0 7/20 =C2=A0file-notify-test03-autorevert</div><div>=
=C2=A0 skipped =C2=A0 8/20 =C2=A0file-notify-test03-autorevert-remote</div>=
<div>Test file-notify-test04-file-validity backtrace:</div><div>=C2=A0 (if =
(unwind-protect (setq value-4 (apply fn-2 args-3)) (setq form-de</div><div>=
=C2=A0 (let (form-description-6) (if (unwind-protect (setq value-4 (apply f=
</div><div>=C2=A0 (let ((value-4 (quote ert-form-evaluation-aborted-5))) (l=
et (form-de</div><div>=C2=A0 (let ((fn-2 (function file-notify--test-no-des=
criptors)) (args-3 (li</div><div>=C2=A0 file-notify--test-cleanup-p()</div>=
<div>=C2=A0 (let ((temporary-file-directory (make-temp-file &quot;file-noti=
fy-test-pa</div><div>=C2=A0 (unwind-protect (let ((temporary-file-directory=
 (make-temp-file &quot;fil</div><div>=C2=A0 (closure (t) nil (let ((fn-194 =
(function file-notify--test-local-ena</div><div>=C2=A0 ert--run-test-intern=
al([cl-struct-ert--test-execution-info [cl-struc</div><div>=C2=A0 ert-run-t=
est([cl-struct-ert-test file-notify-test04-file-validity &quot;C</div><div>=
=C2=A0 ert-run-or-rerun-test([cl-struct-ert--stats t [[cl-struct-ert-test f=
</div><div>=C2=A0 ert-run-tests(t #[385 &quot;\306 \307\&quot;\203G \211\21=
1G\310U\203  \211@\20</div><div>=C2=A0 ert-run-tests-batch(nil)</div><div>=
=C2=A0 ert-run-tests-batch-and-exit(nil)</div><div>=C2=A0 eval((ert-run-tes=
ts-batch-and-exit nil))</div><div>=C2=A0 command-line-1((&quot;-L&quot; &qu=
ot;;.&quot; &quot;-l&quot; &quot;ert&quot; &quot;-l&quot; &quot;lisp/fileno=
tify-tests.el&quot;</div><div>=C2=A0 command-line()</div><div>=C2=A0 normal=
-top-level()</div><div>Test file-notify-test04-file-validity condition:</di=
v><div>=C2=A0 =C2=A0 (ert-test-failed</div><div>=C2=A0 =C2=A0 =C2=A0((shoul=
d</div><div>=C2=A0 =C2=A0 =C2=A0 =C2=A0(file-notify--test-no-descriptors))<=
/div><div>=C2=A0 =C2=A0 =C2=A0 :form</div><div>=C2=A0 =C2=A0 =C2=A0 (file-n=
otify--test-no-descriptors)</div><div>=C2=A0 =C2=A0 =C2=A0 :value nil :expl=
anation</div><div>=C2=A0 =C2=A0 =C2=A0 (&quot;Watch descriptor(s) existent:=
&quot;</div><div>=C2=A0 =C2=A0 =C2=A0 =C2=A0(38542300 &quot;c:/Users/Juanma=
/AppData/Local/Temp/file-notify-test-parent5408RVW&quot;</div><div>=C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(nil . file-notify--=
test-event-handler)))))</div><div>=C2=A0 =C2=A0FAILED =C2=A0 9/20 =C2=A0fil=
e-notify-test04-file-validity</div><div>=C2=A0 skipped =C2=A010/20 =C2=A0fi=
le-notify-test04-file-validity-remote</div><div>Test file-notify-test05-dir=
-validity backtrace:</div><div>=C2=A0 (if (unwind-protect (setq value-4 (ap=
ply fn-2 args-3)) (setq form-de</div><div>=C2=A0 (let (form-description-6) =
(if (unwind-protect (setq value-4 (apply f</div><div>=C2=A0 (let ((value-4 =
(quote ert-form-evaluation-aborted-5))) (let (form-de</div><div>=C2=A0 (let=
 ((fn-2 (function file-notify--test-no-descriptors)) (args-3 (li</div><div>=
=C2=A0 file-notify--test-cleanup-p()</div><div>=C2=A0 (progn (let ((value-2=
69 (cl-gensym &quot;ert-form-evaluation-aborted-&quot;)))</div><div>=C2=A0 =
(unwind-protect (progn (let ((value-269 (cl-gensym &quot;ert-form-evaluat</=
div><div>=C2=A0 (closure (t) nil (let ((fn-250 (function file-notify--test-=
local-ena</div><div>=C2=A0 ert--run-test-internal([cl-struct-ert--test-exec=
ution-info [cl-struc</div><div>=C2=A0 ert-run-test([cl-struct-ert-test file=
-notify-test05-dir-validity &quot;Ch</div><div>=C2=A0 ert-run-or-rerun-test=
([cl-struct-ert--stats t [[cl-struct-ert-test f</div><div>=C2=A0 ert-run-te=
sts(t #[385 &quot;\306 \307\&quot;\203G \211\211G\310U\203  \211@\20</div><=
div>=C2=A0 ert-run-tests-batch(nil)</div><div>=C2=A0 ert-run-tests-batch-an=
d-exit(nil)</div><div>=C2=A0 eval((ert-run-tests-batch-and-exit nil))</div>=
<div>=C2=A0 command-line-1((&quot;-L&quot; &quot;;.&quot; &quot;-l&quot; &q=
uot;ert&quot; &quot;-l&quot; &quot;lisp/filenotify-tests.el&quot;</div><div=
>=C2=A0 command-line()</div><div>=C2=A0 normal-top-level()</div><div>Test f=
ile-notify-test05-dir-validity condition:</div><div>=C2=A0 =C2=A0 (ert-test=
-failed</div><div>=C2=A0 =C2=A0 =C2=A0((should</div><div>=C2=A0 =C2=A0 =C2=
=A0 =C2=A0(file-notify--test-no-descriptors))</div><div>=C2=A0 =C2=A0 =C2=
=A0 :form</div><div>=C2=A0 =C2=A0 =C2=A0 (file-notify--test-no-descriptors)=
</div><div>=C2=A0 =C2=A0 =C2=A0 :value nil :explanation</div><div>=C2=A0 =
=C2=A0 =C2=A0 (&quot;Watch descriptor(s) existent:&quot;</div><div>=C2=A0 =
=C2=A0 =C2=A0 =C2=A0(38542240 &quot;c:/Users/Juanma/AppData/Local/Temp/file=
-notify-test-parent54084zo&quot;</div><div>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(nil . ignore)))))</div><div>=C2=A0 =C2=A0FA=
ILED =C2=A011/20 =C2=A0file-notify-test05-dir-validity</div><div>=C2=A0 ski=
pped =C2=A012/20 =C2=A0file-notify-test05-dir-validity-remote</div><div>Tes=
t file-notify-test06-many-events backtrace:</div><div>=C2=A0 (if (unwind-pr=
otect (setq value-4 (apply fn-2 args-3)) (setq form-de</div><div>=C2=A0 (le=
t (form-description-6) (if (unwind-protect (setq value-4 (apply f</div><div=
>=C2=A0 (let ((value-4 (quote ert-form-evaluation-aborted-5))) (let (form-d=
e</div><div>=C2=A0 (let ((fn-2 (function file-notify--test-no-descriptors))=
 (args-3 (li</div><div>=C2=A0 file-notify--test-cleanup-p()</div><div>=C2=
=A0 (let ((n 1000) source-file-list target-file-list (default-directory</di=
v><div>=C2=A0 (unwind-protect (let ((n 1000) source-file-list target-file-l=
ist (de</div><div>=C2=A0 (closure (t) nil (let ((fn-288 (function file-noti=
fy--test-local-ena</div><div>=C2=A0 ert--run-test-internal([cl-struct-ert--=
test-execution-info [cl-struc</div><div>=C2=A0 ert-run-test([cl-struct-ert-=
test file-notify-test06-many-events &quot;Che</div><div>=C2=A0 ert-run-or-r=
erun-test([cl-struct-ert--stats t [[cl-struct-ert-test f</div><div>=C2=A0 e=
rt-run-tests(t #[385 &quot;\306 \307\&quot;\203G \211\211G\310U\203  \211@\=
20</div><div>=C2=A0 ert-run-tests-batch(nil)</div><div>=C2=A0 ert-run-tests=
-batch-and-exit(nil)</div><div>=C2=A0 eval((ert-run-tests-batch-and-exit ni=
l))</div><div>=C2=A0 command-line-1((&quot;-L&quot; &quot;;.&quot; &quot;-l=
&quot; &quot;ert&quot; &quot;-l&quot; &quot;lisp/filenotify-tests.el&quot;<=
/div><div>=C2=A0 command-line()</div><div>=C2=A0 normal-top-level()</div><d=
iv>Test file-notify-test06-many-events condition:</div><div>=C2=A0 =C2=A0 (=
ert-test-failed</div><div>=C2=A0 =C2=A0 =C2=A0((should</div><div>=C2=A0 =C2=
=A0 =C2=A0 =C2=A0(file-notify--test-no-descriptors))</div><div>=C2=A0 =C2=
=A0 =C2=A0 :form</div><div>=C2=A0 =C2=A0 =C2=A0 (file-notify--test-no-descr=
iptors)</div><div>=C2=A0 =C2=A0 =C2=A0 :value nil :explanation</div><div>=
=C2=A0 =C2=A0 =C2=A0 (&quot;Watch descriptor(s) existent:&quot;</div><div>=
=C2=A0 =C2=A0 =C2=A0 =C2=A0(38542336 &quot;c:/Users/Juanma/AppData/Local/Te=
mp/file-notify-test-parent5408F-u&quot;</div><div>=C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(nil . file-notify--test-event-handle=
r)))))</div><div>=C2=A0 =C2=A0FAILED =C2=A013/20 =C2=A0file-notify-test06-m=
any-events</div><div>=C2=A0 skipped =C2=A014/20 =C2=A0file-notify-test06-ma=
ny-events-remote</div><div>=C2=A0 =C2=A0passed =C2=A015/20 =C2=A0file-notif=
y-test07-backup</div><div>=C2=A0 skipped =C2=A016/20 =C2=A0file-notify-test=
07-backup-remote</div><div>Test file-notify-test08-watched-file-in-watched-=
dir backtrace:</div><div>=C2=A0 (if (unwind-protect (setq value-4 (apply fn=
-2 args-3)) (setq form-de</div><div>=C2=A0 (let (form-description-6) (if (u=
nwind-protect (setq value-4 (apply f</div><div>=C2=A0 (let ((value-4 (quote=
 ert-form-evaluation-aborted-5))) (let (form-de</div><div>=C2=A0 (let ((fn-=
2 (function file-notify--test-no-descriptors)) (args-3 (li</div><div>=C2=A0=
 file-notify--test-cleanup-p()</div><div>=C2=A0 (progn (let ((value-370 (cl=
-gensym &quot;ert-form-evaluation-aborted-&quot;)))</div><div>=C2=A0 (let* =
((--cl-dir-callback-- (function (lambda (event) (let ((file-no</div><div>=
=C2=A0 (unwind-protect (let* ((--cl-dir-callback-- (function (lambda (event=
</div><div>=C2=A0 (closure (t) nil (let ((fn-361 (function file-notify--tes=
t-local-ena</div><div>=C2=A0 ert--run-test-internal([cl-struct-ert--test-ex=
ecution-info [cl-struc</div><div>=C2=A0 ert-run-test([cl-struct-ert-test fi=
le-notify-test08-watched-file-in-</div><div>=C2=A0 ert-run-or-rerun-test([c=
l-struct-ert--stats t [[cl-struct-ert-test f</div><div>=C2=A0 ert-run-tests=
(t #[385 &quot;\306 \307\&quot;\203G \211\211G\310U\203  \211@\20</div><div=
>=C2=A0 ert-run-tests-batch(nil)</div><div>=C2=A0 ert-run-tests-batch-and-e=
xit(nil)</div><div>=C2=A0 eval((ert-run-tests-batch-and-exit nil))</div><di=
v>=C2=A0 command-line-1((&quot;-L&quot; &quot;;.&quot; &quot;-l&quot; &quot=
;ert&quot; &quot;-l&quot; &quot;lisp/filenotify-tests.el&quot;</div><div>=
=C2=A0 command-line()</div><div>=C2=A0 normal-top-level()</div><div>Test fi=
le-notify-test08-watched-file-in-watched-dir condition:</div><div>=C2=A0 =
=C2=A0 (ert-test-failed</div><div>=C2=A0 =C2=A0 =C2=A0((should</div><div>=
=C2=A0 =C2=A0 =C2=A0 =C2=A0(file-notify--test-no-descriptors))</div><div>=
=C2=A0 =C2=A0 =C2=A0 :form</div><div>=C2=A0 =C2=A0 =C2=A0 (file-notify--tes=
t-no-descriptors)</div><div>=C2=A0 =C2=A0 =C2=A0 :value nil :explanation</d=
iv><div>=C2=A0 =C2=A0 =C2=A0 (&quot;Watch descriptor(s) existent:&quot;</di=
v><div>=C2=A0 =C2=A0 =C2=A0 =C2=A0(38542360 &quot;c:/Users/Juanma/AppData/L=
ocal/Temp/file-notify-test-parent5408RcK&quot;</div><div>=C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(nil closure ... ... ...)))))<=
/div><div>=C2=A0 =C2=A0FAILED =C2=A017/20 =C2=A0file-notify-test08-watched-=
file-in-watched-dir</div><div>=C2=A0 skipped =C2=A018/20 =C2=A0file-notify-=
test08-watched-file-in-watched-dir-remote</div><div>=C2=A0 skipped =C2=A019=
/20 =C2=A0file-notify-test09-sufficient-resources</div><div>=C2=A0 skipped =
=C2=A020/20 =C2=A0file-notify-test09-sufficient-resources-remote</div><div>=
<br></div><div>Ran 20 tests, 5 results as expected, 4 unexpected, 11 skippe=
d (2017-01-26 00:38:10+0100)</div><div><br></div><div>4 unexpected results:=
</div><div>=C2=A0 =C2=A0FAILED =C2=A0file-notify-test04-file-validity</div>=
<div>=C2=A0 =C2=A0FAILED =C2=A0file-notify-test05-dir-validity</div><div>=
=C2=A0 =C2=A0FAILED =C2=A0file-notify-test06-many-events</div><div>=C2=A0 =
=C2=A0FAILED =C2=A0file-notify-test08-watched-file-in-watched-dir</div><div=
><br></div><div>11 skipped results:</div><div>=C2=A0 SKIPPED =C2=A0file-not=
ify-test00-availability-remote</div><div>=C2=A0 SKIPPED =C2=A0file-notify-t=
est01-add-watch-remote</div><div>=C2=A0 SKIPPED =C2=A0file-notify-test02-ev=
ents-remote</div><div>=C2=A0 SKIPPED =C2=A0file-notify-test03-autorevert-re=
mote</div><div>=C2=A0 SKIPPED =C2=A0file-notify-test04-file-validity-remote=
</div><div>=C2=A0 SKIPPED =C2=A0file-notify-test05-dir-validity-remote</div=
><div>=C2=A0 SKIPPED =C2=A0file-notify-test06-many-events-remote</div><div>=
=C2=A0 SKIPPED =C2=A0file-notify-test07-backup-remote</div><div>=C2=A0 SKIP=
PED =C2=A0file-notify-test08-watched-file-in-watched-dir-remote</div><div>=
=C2=A0 SKIPPED =C2=A0file-notify-test09-sufficient-resources</div><div>=C2=
=A0 SKIPPED =C2=A0file-notify-test09-sufficient-resources-remote</div><div>=
<br></div><div>Makefile:115: recipe for target `lisp/filenotify-tests.log&#=
39; failed</div><div>make[1]: *** [lisp/filenotify-tests.log] Error 1</div>=
<div>Makefile:152: recipe for target `lisp/filenotify-tests&#39; failed</di=
v><div>make: *** [lisp/filenotify-tests] Error 2</div></div><div><br></div>=
</div>

--f403045d5d7281f0630546f415e8--




Acknowledgement sent to Juanma Barranquero <lekktu@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#25539; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sun, 28 Jan 2018 22:15:01 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.