From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id EJ8lNaIzoGB32wAAgWs5BA (envelope-from ) for ; Sat, 15 May 2021 22:48:34 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id cL3iMKIzoGCYcgAA1q6Kng (envelope-from ) for ; Sat, 15 May 2021 20:48:34 +0000 Received: from mail.notmuchmail.org (nmbug.tethera.net [144.217.243.247]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 03C312CD4C for ; Sat, 15 May 2021 22:48:33 +0200 (CEST) Received: from nmbug.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id BE6D028D06; Sat, 15 May 2021 16:48:15 -0400 (EDT) Received: from mail-ot1-x32a.google.com (mail-ot1-x32a.google.com [IPv6:2607:f8b0:4864:20::32a]) by mail.notmuchmail.org (Postfix) with ESMTPS id A89B527185 for ; Sat, 15 May 2021 16:48:06 -0400 (EDT) Received: by mail-ot1-x32a.google.com with SMTP id d25-20020a0568300459b02902f886f7dd43so2310192otc.6 for ; Sat, 15 May 2021 13:48:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=orTj4cSuKfWMvBtrzGBisnDp65K20btX+9zK3b6WEKY=; b=YynXl6n9qQuffcCmmfrJ/29PPzpOXAGWOxRNjmbbSFfzidzhJPMTpk1Zek94BwEpSb vGJ8R98YAJjxFLXHO2UwwVdJ+zd1HnKdri/88dChPUJ2WdTb8s75g4I8Dkwr/Uaf4AXE KOac0oggU68T0c6JSus3a7UvtdjLbfuYMb58J+L+WP6wQetaOH7mM430Y3TWMFQ93ZRm ULdmlhlkFkwZDRQSk/MwCHzKWy0I2SsmMGMsDhuMN1pJ7q6aofkA1IcJmM8fHtGCgk6L qvc3jU2h+khyuQiBouHudTAFQOXVNGouqq9Eb2WoEXgMa/TU4r+7WC+OzmYf4JR0ya03 5TjA== 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:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=orTj4cSuKfWMvBtrzGBisnDp65K20btX+9zK3b6WEKY=; b=NCi0PsCGYeeCdP6vRGD3PFmeoJnFsCmI5Kx85O8C6ZeAinps+rZ2wf2IRS/MougHqO 9+YMWv9fMGMhPdRWX0dk7Z+PNVjm2n5fGNKoTCXnricbVnSnwRmY9AvGilLMHvgBJEqY AvFcJ1uK5X/gvIPXNyCdmeCwh6i9cvMQtmmymI2f/JJqceY3MPuocKzRo2cFUywa5Y/T uhMjYbgQxQMQYBqAkg6Y3N6RAFUjuIhgqtmfTMtMEFcgyJXPYihfJFHwU6D0nIQ+uRUc zWJgjx0qmfeqIbt7UMMNI3aQEp+cFBDeplOltcI3EgxFE6KZ+JQAaIRZUn9hMl8MBVPS TShw== X-Gm-Message-State: AOAM533tax2jDawZl2JCt7KZAg24MguDgyjVghNyZTbFqXND94cLjfMj pqEFxDrnNmWlrMB0zJoHS+JyKqVbOrLE6Q== X-Google-Smtp-Source: ABdhPJwHkb8N5Kg1NIONDpes5LYiZ2J/u+X21BvtLym8YUM1jAlD03vJHM4qMGIJFNsq1GbmSoJmtw== X-Received: by 2002:a05:6830:2141:: with SMTP id r1mr40545604otd.13.1621111683754; Sat, 15 May 2021 13:48:03 -0700 (PDT) Received: from localhost (fixed-187-189-165-231.totalplay.net. [187.189.165.231]) by smtp.gmail.com with ESMTPSA id w25sm2236539otq.40.2021.05.15.13.48.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 15 May 2021 13:48:03 -0700 (PDT) From: Felipe Contreras To: notmuch@notmuchmail.org Subject: [PATCH v2 1/6] test: trivial style cleanups Date: Sat, 15 May 2021 15:47:39 -0500 Message-Id: <20210515204744.965206-2-felipe.contreras@gmail.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210515204744.965206-1-felipe.contreras@gmail.com> References: <20210515204744.965206-1-felipe.contreras@gmail.com> MIME-Version: 1.0 Message-ID-Hash: FSR257UFKX2DWZ73JETSCEXYSZ6RJN7S X-Message-ID-Hash: FSR257UFKX2DWZ73JETSCEXYSZ6RJN7S X-MailFrom: felipe.contreras@gmail.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-notmuch.notmuchmail.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; suspicious-header CC: Daniel Kahn Gillmor X-Mailman-Version: 3.2.1 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Help: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1621111714; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=aYj+OJ3GKuCzc9q3L0OUNcFJiQB90ojui3uSIUHqQPE=; b=m0kMYFyqAQ09ujZra2xQf9IVOH5nNFhLfNAkRggPQj+1xkQe4R0j484pnYpMjPeff9Ck0H P1+opEVMfLUfILDZhidnT/b3EG8qCqHf5IDGzm9kKr4iZgNQl8vl/3MXgi7FIx/M24vCyb fo+5zX2o+IKoqW4FD3KFtgkFskEFx82lJeNbhic4awjVjWWnWszgnLKSRe1K6HdoxYA/Jr h6HFe+bH0nQpBU640w9EjvAJmEpSUN8keG1RwI8LUKnKe6AmuHaI4rbIPalWeh9Yy+v8Bw JeWKYNm3jzlvbSiH3F62AW6Il6bj+chTDK6L9opb5ia3bUB8AwEID1Sc4E5onA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1621111714; a=rsa-sha256; cv=none; b=IaZrMeNddonck+HPEftI6Wm1e7PyqIhjDpNJ6LH//bXxXIWgSQc/HYPi0D3V7XD38HRsDU IFyGcpKqICJ+Oy5X8sbx3LcE1BYwfqeQW08CORIcf0PkAKCewcJZsGWSh4B+jA479awxD6 /Ln7unwz75tMfkTsFB2cHVoe/OcPfbdZfMnnAm1IOiZR5D4VMTfZsGiHw2A0JCi7+eZp7p F/RzEp03/tEC8sxiOlsYr3pFeeZQcLYaR9YGsvnCTJQgjP2sVMK39/QUupC66MOPz9PEJA TaN8YFR7O9eAFWL7y3nd55Cf25zP+s3/HOMglNzd3H0LMRgbH/YuOn5a7CQdKQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=gmail.com header.s=20161025 header.b=YynXl6n9; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 144.217.243.247 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Spam-Score: -0.97 Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=gmail.com header.s=20161025 header.b=YynXl6n9; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 144.217.243.247 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Queue-Id: 03C312CD4C X-Spam-Score: -0.97 X-Migadu-Scanner: scn0.migadu.com X-TUID: 73QHqCtkmuRY Signed-off-by: Felipe Contreras --- test/T000-basic.sh | 2 +- test/T070-insert.sh | 2 +- test/T590-thread-breakage.sh | 10 +++++----- test/export-dirs.sh | 2 +- test/test-lib.sh | 6 +++--- 5 files changed, 11 insertions(+), 11 deletions(-) diff --git a/test/T000-basic.sh b/test/T000-basic.sh index 7fbdcfa3..a2f4d93f 100755 --- a/test/T000-basic.sh +++ b/test/T000-basic.sh @@ -33,7 +33,7 @@ test_begin_subtest 'failure to clean up causes the test to fail' test_expect_code 2 'test_when_finished "(exit 2)"' EXPECTED=$NOTMUCH_SRCDIR/test/test.expected-output -suppress_diff_date() { +suppress_diff_date () { sed -e 's/\(.*\-\-\- test-verbose\.4\.\expected\).*/\1/' \ -e 's/\(.*\+\+\+ test-verbose\.4\.\output\).*/\1/' } diff --git a/test/T070-insert.sh b/test/T070-insert.sh index b37a9b67..208deb1c 100755 --- a/test/T070-insert.sh +++ b/test/T070-insert.sh @@ -15,7 +15,7 @@ notmuch new > /dev/null # They happen to be in the mail directory already but that is okay # since we do not call notmuch new hereafter. -gen_insert_msg() { +gen_insert_msg () { generate_message \ "[subject]=\"insert-subject\"" \ "[date]=\"Sat, 01 Jan 2000 12:00:00 -0000\"" \ diff --git a/test/T590-thread-breakage.sh b/test/T590-thread-breakage.sh index aeb82cf4..92a70e3e 100755 --- a/test/T590-thread-breakage.sh +++ b/test/T590-thread-breakage.sh @@ -21,7 +21,7 @@ test_description='thread breakage during reindexing' . $(dirname "$0")/test-lib.sh || exit 1 -message_a() { +message_a () { mkdir -p ${MAIL_DIR}/cur cat > ${MAIL_DIR}/cur/a < ${MAIL_DIR}/cur/b <