From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: "Basil L. Contovounesios" Newsgroups: gmane.emacs.bugs Subject: bug#39491: 28.0.50; two bugs in battery-upower Date: Thu, 11 Jun 2020 20:41:04 +0100 Message-ID: <87wo4dcrvz.fsf@tcd.ie> References: <83mu9tedsh.fsf@gnu.org> <5A4C6466-FB4B-484F-BF29-91762AFB46F3@gmail.com> <83wo625mo6.fsf@gnu.org> <83mu6y5gti.fsf@gnu.org> <83y2peu0lf.fsf@gnu.org> <83sgfmtzk2.fsf@gnu.org> <87ftb1zja1.fsf@tcd.ie> <87lfkteabn.fsf@gmx.de> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="67909"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 39491@debbugs.gnu.org, lg.zevlg@gmail.com, Richard Stallman , Stefan Monnier To: Michael Albinus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jun 11 21:42:10 2020 Return-path: 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 ) id 1jjT5W-000HXd-Kn for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 11 Jun 2020 21:42:10 +0200 Original-Received: from localhost ([::1]:44560 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jjT5V-0005kj-5p for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 11 Jun 2020 15:42:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52482) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jjT5O-0005kO-Kb for bug-gnu-emacs@gnu.org; Thu, 11 Jun 2020 15:42:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:54828) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jjT5O-0008T5-Bf for bug-gnu-emacs@gnu.org; Thu, 11 Jun 2020 15:42:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jjT5O-00061c-9X for bug-gnu-emacs@gnu.org; Thu, 11 Jun 2020 15:42:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Basil L. Contovounesios" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 11 Jun 2020 19:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 39491 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 39491-submit@debbugs.gnu.org id=B39491.159190448023106 (code B ref 39491); Thu, 11 Jun 2020 19:42:02 +0000 Original-Received: (at 39491) by debbugs.gnu.org; 11 Jun 2020 19:41:20 +0000 Original-Received: from localhost ([127.0.0.1]:38139 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jjT4i-00060c-Aj for submit@debbugs.gnu.org; Thu, 11 Jun 2020 15:41:20 -0400 Original-Received: from mail-wr1-f54.google.com ([209.85.221.54]:45563) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jjT4f-00060O-UD for 39491@debbugs.gnu.org; Thu, 11 Jun 2020 15:41:18 -0400 Original-Received: by mail-wr1-f54.google.com with SMTP id c3so7373958wru.12 for <39491@debbugs.gnu.org>; Thu, 11 Jun 2020 12:41:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tcd-ie.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=HONS4VkaaAS1a6CZKg5EB73khICGNY3Tvba7GP3FBrk=; b=guqZGPYm12iBDaiibMIk6YBYmsJtNNI8g3w9QCF/A2DV4Kq6hhr23Cdth1ruqB3r5D zkWtmi9t+jWtq5LhtIN8yxHOwI3fW16Td4BU1Ir8QGC8M9bKJOMlxYBWYN9rHu/sYgfs UbGU2Wl7B2c0DcFFT8oKqwE2xRWTSVda0fubei/diBYosfazI3RldZTNuY3HqxsmXysT CS0nNKDJgvlRiOEHdODopSaTquNk/8ICaCvZSpcn8ja+fS2uyycUn1L3IBtGGAdxuOGt ukUV2aENf8V/eqne9z2JiiWt48rHFN07LdEoaFOzdUMIOdQHrCAnqJE8thwwcVs2Y1us W7VA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=HONS4VkaaAS1a6CZKg5EB73khICGNY3Tvba7GP3FBrk=; b=okTZdc4jMmKwRS5mCc2iECKyg+Yf9Qt6taEuPBVG0DzisCWlItrjPw80GUZTJaXjQH ICIRo8HysGVtAALkNB7y4PHHljeQFPKHG7Vwqh+mNHojO5GrJgUljh1ex2/0cfdutXIE 35MNlWy7rcUbhnZtpCfS44gsfu3/D/PS8YjH14TUKzeh0NGUSnaz0xmC+P8TdNtGTaia jCPhFh/lnJ8xrz81QdWhB1tmbEA2+JUHvZN9rcbTckDs76zKF0WpiwDZCgyDIJBayTtz GnnsqXdXOLebEJijINwbAZBpMWdOV7o5SZYMnTqjNd5PnLP5Viygw4QmKtnSQLwTbp2c l/+w== X-Gm-Message-State: AOAM531/1XchNMz+xy1CDh2wlWQPU0dhgbirB9piqHL59koCJ/02kLHR adnz0uN4chLcDGxMnDnoJa+HbQ== X-Google-Smtp-Source: ABdhPJynyCMxk4Uu3Rlk/A1FI0QoCooNQHELZOkSlAdF0Wf9RXnM+6yWP7IQWmQqBavtpanjSNFdBw== X-Received: by 2002:a5d:6288:: with SMTP id k8mr10544505wru.94.1591904472073; Thu, 11 Jun 2020 12:41:12 -0700 (PDT) Original-Received: from localhost ([2a02:8084:20e2:c380:92bd:1bfd:38fc:fae2]) by smtp.gmail.com with ESMTPSA id q1sm5288390wmc.12.2020.06.11.12.41.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Jun 2020 12:41:08 -0700 (PDT) In-Reply-To: <87lfkteabn.fsf@gmx.de> (Michael Albinus's message of "Thu, 11 Jun 2020 20:17:32 +0200") 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" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:181868 Archived-At: Michael Albinus writes: > "Basil L. Contovounesios" writes: > >> --- a/test/lisp/battery-tests.el >> +++ b/test/lisp/battery-tests.el >> @@ -48,6 +48,69 @@ battery-linux-proc-apm-regexp >> (should (equal (match-string 8 str) "1792")) >> (should (equal (match-string 9 str) "min")))) >> >> +(ert-deftest battery-upower-state () >> +(ert-deftest battery-upower-state-unknown () > > Shouldn't theses tests be skipped, unless battery-upower is used? No, because they test a pure function that depends only on its arguments. -- Basil