From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: dick <dick.r.chiang@gmail.com> Newsgroups: gmane.emacs.bugs Subject: bug#51902: 28.0.50; [PATCH] Get mh-e tests to pass Date: Tue, 16 Nov 2021 19:20:16 -0500 Message-ID: <8735nvws3j.fsf@dick> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7225"; mail-complaints-to="usenet@ciao.gmane.io" To: 51902@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Nov 17 01:21:18 2021 Return-path: <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org> Envelope-to: geb-bug-gnu-emacs@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 <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org>) id 1mn8hP-0001Xh-ND for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 17 Nov 2021 01:21:15 +0100 Original-Received: from localhost ([::1]:39036 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org>) id 1mn8hO-0002CI-8B for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 16 Nov 2021 19:21:14 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:39834) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1mn8hC-0002C6-Qq for bug-gnu-emacs@gnu.org; Tue, 16 Nov 2021 19:21:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:47901) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1mn8hC-0005QD-IX for bug-gnu-emacs@gnu.org; Tue, 16 Nov 2021 19:21:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1mn8hC-00018i-Cp for bug-gnu-emacs@gnu.org; Tue, 16 Nov 2021 19:21:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: dick <dick.r.chiang@gmail.com> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org> Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 17 Nov 2021 00:21:02 +0000 Resent-Message-ID: <handler.51902.B.16371084534330@debbugs.gnu.org> Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 51902 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch X-Debbugs-Original-To: bug-gnu-emacs <bug-gnu-emacs@gnu.org> Original-Received: via spool by submit@debbugs.gnu.org id=B.16371084534330 (code B ref -1); Wed, 17 Nov 2021 00:21:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 17 Nov 2021 00:20:53 +0000 Original-Received: from localhost ([127.0.0.1]:59447 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>) id 1mn8h1-00017l-WD for submit@debbugs.gnu.org; Tue, 16 Nov 2021 19:20:52 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:40692) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <dick.r.chiang@gmail.com>) id 1mn8gz-00017b-Oo for submit@debbugs.gnu.org; Tue, 16 Nov 2021 19:20:51 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:39764) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <dick.r.chiang@gmail.com>) id 1mn8gz-00027F-Js for bug-gnu-emacs@gnu.org; Tue, 16 Nov 2021 19:20:49 -0500 Original-Received: from [2607:f8b0:4864:20::729] (port=45813 helo=mail-qk1-x729.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <dick.r.chiang@gmail.com>) id 1mn8gx-0005Ka-Fj for bug-gnu-emacs@gnu.org; Tue, 16 Nov 2021 19:20:49 -0500 Original-Received: by mail-qk1-x729.google.com with SMTP id d2so716149qki.12 for <bug-gnu-emacs@gnu.org>; Tue, 16 Nov 2021 16:20:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:message-id:mime-version; bh=2oUSy/SJMOAxF/7NdqefAtlCvAIuxtbBEeGHrh0SZfo=; b=XSlAE8NSUOUNRONtu7c+zPhyp8IseO+9TYYM0JTKSG9GG7ea6/QLanbULgfDLgrVUN XvcfaF+Aqkm5vPMWsY+Q19y8jasfJJwxYnb30/uWS5FhIpfZNx05QNl1u+e5mCk9MtAu N0Np6EfnF7K7I3KcFJlQtfo24XWkcPUpaMoDDsT8l7Rr/yKqTB96vMZ0Ak3XnhdO55H/ 0HFXuNSK0TebHBF9f11YH3qdUrGMhxHo8uqR5XhqjHCha/lTLOOwoXq/aOtFh6yZkRy/ 9/hwf07Zz5OToWw2REZBbs+MnPu7Un62LqUCTZR3STgVQZaLubF30kM6W5VETMAzZWbR WUeg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=2oUSy/SJMOAxF/7NdqefAtlCvAIuxtbBEeGHrh0SZfo=; b=d6LC8awtt8W4twU78C5c06WnBpu7qE98qzp/TzautqvWfvCJKFB/Sop5aclUYgUCRu 5K80p4xYVtiNXhWdBzrfDNnn+TAKm9fgVBgXt58NJgGaWoXsqzdNW3NVGT1+OZCmkzPx Ym3pP5ZPTnNLkxaPz61HE0yIJuQHiBhnNP3K3hK8oBl8DpJyMeirKX8oOcb9veBQqXHY m3Mj8rbsutBwZbcDvFKiKt1BzMhDvKcDqwN17vZnTLF/XK4Bl+VKAKs5GbXSG+Yd7vAI vsC5n0gW2EDViqfrqvC4xNY3wR/1lyaUr0A/tAJnLkUcSJng4Uo3iHrOfAoV9tGllAIX noWg== X-Gm-Message-State: AOAM530hdju1sQEl1C2Ko/n5GWleweOG7Uzbjqmoy1tO7EgwmX/Zf+9r XxmeD+fNgIxZNLr9jDM4IM5b4w4rdaQ= X-Google-Smtp-Source: ABdhPJzMEgbOFR4NGca7Dxga6XwgU7MoTypn++osfxen57GStvizb/JtKKfH6hX8yBrzAwfF0ddy0w== X-Received: by 2002:a37:e40e:: with SMTP id y14mr9448306qkf.455.1637108417744; Tue, 16 Nov 2021 16:20:17 -0800 (PST) Original-Received: from localhost ([68.237.93.126]) by smtp.gmail.com with ESMTPSA id i14sm10022488qko.9.2021.11.16.16.20.16 for <bug-gnu-emacs@gnu.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 16 Nov 2021 16:20:17 -0800 (PST) X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::729 (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::729; envelope-from=dick.r.chiang@gmail.com; helo=mail-qk1-x729.google.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs.gnu.org> List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-gnu-emacs>, <mailto:bug-gnu-emacs-request@gnu.org?subject=unsubscribe> List-Archive: <https://lists.gnu.org/archive/html/bug-gnu-emacs> List-Post: <mailto:bug-gnu-emacs@gnu.org> List-Help: <mailto:bug-gnu-emacs-request@gnu.org?subject=help> List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-gnu-emacs>, <mailto:bug-gnu-emacs-request@gnu.org?subject=subscribe> Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org> Xref: news.gmane.io gmane.emacs.bugs:220168 Archived-At: <http://permalink.gmane.org/gmane.emacs.bugs/220168> --=-=-= Content-Type: text/plain Postscript to d89d5e0f94. Until the patch for bug#51399 is accepted, EMBA remains a non-entity. --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=0001-Get-mh-e-tests-to-pass.patch >From eb2bf287b5b2389a7246e440f226449300c02a60 Mon Sep 17 00:00:00 2001 From: dickmao <dick.r.chiang@gmail.com> Date: Tue, 16 Nov 2021 19:13:00 -0500 Subject: [PATCH] Get mh-e tests to pass * test/lisp/mh-e/mh-utils-tests.el (mh-folder-completion-function-08-plus-slash): Insulate against old or decrepit mh. (mh-folder-completion-function-09-plus-slash-tmp): Insulate against old or decrepit mh. --- test/infra/gitlab-ci.yml | 7 +++++++ test/lisp/mh-e/mh-utils-tests.el | 8 ++++++++ 2 files changed, 15 insertions(+) diff --git a/test/infra/gitlab-ci.yml b/test/infra/gitlab-ci.yml index 001c779572..43897a9fe9 100644 --- a/test/infra/gitlab-ci.yml +++ b/test/infra/gitlab-ci.yml @@ -248,6 +248,13 @@ test-lisp-net-inotify: target: emacs-inotify make_params: "-C test check-lisp-net" +test-lisp-mh-e-inotify: + stage: normal + extends: [.job-template, .test-template] + variables: + target: emacs-inotify + make_params: "-C test check-lisp-mh-e" + build-image-filenotify-gio: stage: platform-images extends: [.job-template, .build-template, .filenotify-gio-template] diff --git a/test/lisp/mh-e/mh-utils-tests.el b/test/lisp/mh-e/mh-utils-tests.el index 0df4d44646..6f60d3b865 100644 --- a/test/lisp/mh-e/mh-utils-tests.el +++ b/test/lisp/mh-e/mh-utils-tests.el @@ -437,6 +437,10 @@ mh-folder-completion-function-07-rel-folder-slash-foo-slash (ert-deftest mh-folder-completion-function-08-plus-slash () "Test `mh-folder-completion-function' with `+/'." + :expected-result '(satisfies (lambda (result) + (ert-test-result-type-p + result + (if mh-variant-in-use :passed :failed)))) (mh-test-folder-completion-1 "+/" "+/" "tmp/" t) ;; case "bb" (with-mh-test-env @@ -446,6 +450,10 @@ mh-folder-completion-function-08-plus-slash (ert-deftest mh-folder-completion-function-09-plus-slash-tmp () "Test `mh-folder-completion-function' with `+/tmp'." + :expected-result '(satisfies (lambda (result) + (ert-test-result-type-p + result + (if mh-variant-in-use :passed :failed)))) (mh-test-folder-completion-1 "+/tmp" "+/tmp/" "tmp/" t)) (ert-deftest mh-folder-completion-function-10-plus-slash-abs-folder () -- 2.26.2 --=-=-= Content-Type: text/plain In Commercial Emacs 28.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.22.30, cairo version 1.15.10) of 2021-11-16 built on dick Repository revision: cf1a6159e01ddfddb599cd1d9bff67e38e0798dc Repository branch: dev Windowing system distributor 'The X.Org Foundation', version 11.0.11906000 System Description: Ubuntu 18.04.4 LTS Configured using: 'configure --prefix=/home/dick/.local --with-tree-sitter --enable-dumping-overwrite 'CFLAGS=-g3 -O2 -I/home/dick/.local/include/' LDFLAGS=-L/home/dick/.local/lib' Configured features: CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG JSON TREE-SITTER LCMS2 LIBSELINUX LIBXML2 MODULES NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND THREADS TIFF TOOLKIT_SCROLL_BARS WEBP X11 XDBE XIM XPM GTK3 ZLIB Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Magit Minor modes in effect: async-bytecomp-package-mode: t global-git-commit-mode: t shell-dirtrack-mode: t projectile-mode: t flx-ido-mode: t override-global-mode: t global-hl-line-mode: t winner-mode: t tooltip-mode: t show-paren-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t buffer-read-only: t column-number-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: /home/dick/gomacro-mode/gomacro-mode hides /home/dick/.emacs.d/elpa/gomacro-mode-20200326.1103/gomacro-mode /home/dick/.emacs.d/elpa/hydra-20170924.2259/lv hides /home/dick/.emacs.d/elpa/lv-20191106.1238/lv /home/dick/.emacs.d/elpa/magit-3.3.0/magit-section-pkg hides /home/dick/.emacs.d/elpa/magit-section-3.3.0/magit-section-pkg /home/dick/org-gcal.el/org-gcal hides /home/dick/.emacs.d/elpa/org-gcal-0.3/org-gcal /home/dick/.emacs.d/lisp/json hides /home/dick/.local/share/emacs/28.0.50/lisp/json /home/dick/.emacs.d/elpa/transient-0.3.6/transient hides /home/dick/.local/share/emacs/28.0.50/lisp/transient /home/dick/.emacs.d/elpa/hierarchy-20171221.1151/hierarchy hides /home/dick/.local/share/emacs/28.0.50/lisp/emacs-lisp/hierarchy Features: (shadow emacsbug benchmark vc-git vc-dispatcher bug-reference face-remap magit-patch-changelog magit-patch magit-submodule magit-obsolete magit-popup async-bytecomp async magit-blame magit-stash magit-reflog magit-bisect magit-push magit-pull magit-fetch magit-clone magit-remote magit-commit magit-sequence magit-notes magit-worktree magit-tag magit-merge magit-branch magit-reset magit-files magit-refs magit-status magit magit-repos magit-apply magit-wip magit-log which-func imenu magit-diff git-commit log-edit pcvs-util magit-core magit-margin magit-transient magit-process with-editor server magit-mode transient supercite regi bbdb-message sendmail footnote flow-fill sort smiley smerge-mode diff diff-mode jka-compr mail-extr gnus-async gnus-ml disp-table nndoc help-fns radix-tree cl-print debug backtrace find-func gnus-dup gnus-demon nntp nnmairix nnml nnreddit gnus-topic request virtualenvwrapper gud s json-rpc python tramp-sh tramp tramp-loaddefs trampver tramp-integration files-x tramp-compat shell pcomplete ls-lisp format-spec gnus-score score-mode gnus-bcklg gnus-srvr gnus-cite anaphora bbdb-mua bbdb-com bbdb bbdb-site timezone gnus-delay gnus-draft gnus-cache gnus-agent gnus-msg gnus-art mm-uu mml2015 mm-view mml-smime smime dig gnus-sum shr kinsoku svg dom nndraft nnmh gnus-group mm-url gnus-undo use-package use-package-delight use-package-diminish gnus-start gnus-dbus dbus gnus-cloud nnimap nnmail mail-source utf7 netrc nnoo parse-time iso8601 gnus-spec gnus-int gnus-range gnus-win mm-archive message yank-media dired-x dired dired-loaddefs rfc822 mml mml-sec epa epg rfc6068 epg-config mailabbrev gmm-utils mailheader url-cache debbugs-gnu add-log debbugs soap-client mm-decode mm-bodies mm-encode url-http url-auth url-gw network-stream gnutls nsm rmc puny rng-xsd rng-dt rng-util xsd-regexp xml paredit-ext paredit subed subed-vtt subed-srt subed-common subed-mpv subed-debug subed-config inf-ruby ruby-mode smie company pcase haskell-interactive-mode haskell-presentation-mode haskell-process haskell-session haskell-compile haskell-mode haskell-cabal haskell-utils haskell-font-lock haskell-indentation haskell-string haskell-sort-imports haskell-lexeme haskell-align-imports haskell-complete-module haskell-ghc-support noutline outline flymake-proc flymake warnings etags fileloop generator xref project dabbrev haskell-customize hydra lv use-package-ensure solarized-theme solarized-definitions projectile lisp-mnt mail-parse rfc2231 ibuf-ext ibuffer ibuffer-loaddefs thingatpt magit-autorevert autorevert filenotify magit-git magit-section magit-utils crm dash rx grep compile comint ansi-color gnus nnheader gnus-util rmail rmail-loaddefs rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils text-property-search time-date flx-ido flx google-translate-default-ui google-translate-core-ui facemenu color ido google-translate-core google-translate-tk google-translate-backend use-package-bind-key bind-key auto-complete easy-mmode advice edmacro kmacro popup cus-edit pp cus-load wid-edit emms-player-mplayer emms-player-simple emms emms-compat cl-extra use-package-core derived hl-line winner ring help-mode finder-inf json-reformat-autoloads json-snatcher-autoloads sml-mode-autoloads tornado-template-mode-autoloads info package browse-url url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util mailcap url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache json map url-vars seq gv subr-x byte-opt bytecomp byte-compile cconv cl-loaddefs cl-lib iso-transl tooltip eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tree-sitter tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice button loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting cairo move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 589624 37366) (symbols 48 38225 3) (strings 32 146790 10938) (string-bytes 1 4842385) (vectors 16 59032) (vector-slots 8 735642 35369) (floats 8 591 1479) (intervals 56 4332 492) (buffers 992 24)) --=-=-=--