From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.devel Subject: Re: sqlite3 Date: Thu, 30 Dec 2021 15:41:13 +0100 Message-ID: <875yr688ae.fsf@gnus.org> References: <87tufmjyai.fsf@gnus.org> <83ee64ych1.fsf@gnu.org> <83o853pydo.fsf@gnu.org> <875yrbzjc5.fsf@gnus.org> <8335mfpox7.fsf@gnu.org> <83pmpjo79j.fsf@gnu.org> <83ilvbo2ab.fsf@gnu.org> <83h7avo1l6.fsf@gnu.org> <87o852cl7z.fsf@gnus.org> <83r19ym6vv.fsf@gnu.org> <87k0fqaxy8.fsf@gnus.org> <83o852m661.fsf@gnu.org> <83lf06m1ll.fsf@gnu.org> <87v8z99p1s.fsf@gnus.org> <83wnjolw37.fsf@gnu.org> <871r1waj1d.fsf@gnus.org> <83pmpglpun.fsf@gnu.org> <87wnjn78fm.fsf@gnus.org> <83bl0zjo4b.fsf@gnu.org> <87mtkj8ey3.fsf@gnus.org> <838rw3jmau.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18488"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Dec 30 15:44:42 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1n2wfZ-0004dJ-Ts for ged-emacs-devel@m.gmane-mx.org; Thu, 30 Dec 2021 15:44:41 +0100 Original-Received: from localhost ([::1]:39604 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n2wfY-0000ZH-S1 for ged-emacs-devel@m.gmane-mx.org; Thu, 30 Dec 2021 09:44:40 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:54682) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n2wcN-0003lV-IL for emacs-devel@gnu.org; Thu, 30 Dec 2021 09:41:23 -0500 Original-Received: from [2a01:4f9:2b:f0f::2] (port=42694 helo=quimby.gnus.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n2wcL-00064K-Np; Thu, 30 Dec 2021 09:41:23 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=Ah64BWHWtGaplr9sBoLGjmzxKMZpcmIhqwulHlH1nXA=; b=uKJmxRElCVb+r2xBMmQ2ULSo8Q eGkYCCA8RDnifttLiy8XpUhQ7Detcm1o+62NUBhIoErfXvs6E75zxjr4vk93y41GsrLm9FKtz/RUl M07WWJW6GMu2/GqetlX/t36ru/JmMJEpk6BfeckB+4+vqNeERRETJnk54j/RIdQ3GHN4=; Original-Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1n2wcF-0007t8-GN; Thu, 30 Dec 2021 15:41:18 +0100 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAM1BMVEX+/v7Y2Njo9+rI 0Mm3trfn5+fh4d+nyq2KtZE4fEVbk2UZZCd7p4K83MLS7NY+gEr////Ja16OAAAAAWJLR0QQlbIN LAAAAAd0SU1FB+UMHg4nMAnpQv8AAAEeSURBVEjH7ZXtjoQwCEUFRCgqvv/bLrXjrGadDM382Gyy N1r84BRpaxmGPkGcCElnogaMI+YAHnmYKvD03y8QTzcPz2/Llx4IgBiIwgKPUA1BPICf7N5ldat6 mJPuAWYMtRZb+9QtkEu8F0gO6AfAXxKJUo+/FCvzkvVWnmxFtDRhJujilA+BuKqLzJIGrEQMK/lp 1YJiZc0C0blFEpt5lpBZ0bEjBy/uFdAssEQAdU1GYNItAqhvOQBWVTUztVlSORPFXiUiujjlf2CO 71Ja0/77SHXvD//6LfFRTmpFiWMvRHFB8GJRNcddeBQjxmruAT4XnuFSgN4vk/pFL18iZgFu5ZSy uy6PdLHvAcIj2/4p6NAE7/tHbHM6xQx9ASU8B1RdRhg3AAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIx LTEyLTMwVDE0OjM5OjQ4KzAwOjAw1hnitwAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMS0xMi0zMFQx NDozOTo0OCswMDowMKdEWgsAAAAASUVORK5CYII= X-Now-Playing: John Zorn's _The Bagatelles (2): Erik Friedlander and Michael Nicolas_: "Bagatelle 163" In-Reply-To: <838rw3jmau.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 29 Dec 2021 20:30:49 +0200") X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a01:4f9:2b:f0f::2 (failed) Received-SPF: pass client-ip=2a01:4f9:2b:f0f::2; envelope-from=larsi@gnus.org; helo=quimby.gnus.org X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:283655 Archived-At: Eli Zaretskii writes: > The problem is that its hard to compare time stamps the way we print > them in file-attributes. But maybe there's way around that, and we > should print the two time stamps being compared in human readable > format. Try something like: diff --git a/test/lisp/emacs-lisp/multisession-tests.el b/test/lisp/emacs-lisp/multisession-tests.el index 57ca420488..06b73ffb95 100644 --- a/test/lisp/emacs-lisp/multisession-tests.el +++ b/test/lisp/emacs-lisp/multisession-tests.el @@ -116,6 +116,14 @@ multi-test-files-simple (should (= (multisession-value multisession--sfoo) 0)) (cl-incf (multisession-value multisession--sfoo)) (should (= (multisession-value multisession--sfoo) 1)) + (message + "Before: %s" + (format-time-string + "%FT%T.%N" + (file-attribute-modification-time + (file-attributes + (expand-file-name "files/multisession/multisession--sfoo.value" + multisession-directory))))) (call-process (concat invocation-directory invocation-name) nil t nil @@ -133,6 +141,14 @@ multi-test-files-simple ;; On Windows, we don't have sub-second resolution. (when (memq system-type '(windows-nt haiku)) (sleep-for 2)) + (message + "After: %s" + (format-time-string + "%FT%T.%N" + (file-attribute-modification-time + (file-attributes + (expand-file-name "files/multisession/multisession--sfoo.value" + multisession-directory))))) (should (= (multisession-value multisession--sfoo) 2))))) (ert-deftest multi-test-files-busy () But I'm beginning to wonder whether the problem is something completely different -- that the problem is that in some cases, Emacs B doesn't start at all on your system. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no