From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id G2FcOzNaS2AGFgAA0tVLHw (envelope-from ) for ; Fri, 12 Mar 2021 12:10:27 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id +O3ONjNaS2BwAgAA1q6Kng (envelope-from ) for ; Fri, 12 Mar 2021 12:10:27 +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 81952E2E8 for ; Fri, 12 Mar 2021 13:10:27 +0100 (CET) Received: from nmbug.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id 2CC7527567; Fri, 12 Mar 2021 07:10:10 -0500 (EST) Received: from fethera.tethera.net (fethera.tethera.net [IPv6:2607:5300:60:c5::1]) by mail.notmuchmail.org (Postfix) with ESMTP id 93EAB27567 for ; Fri, 12 Mar 2021 07:10:02 -0500 (EST) Received: by fethera.tethera.net (Postfix, from userid 1001) id 835A95FA96; Fri, 12 Mar 2021 07:10:02 -0500 (EST) Received: (nullmailer pid 2712832 invoked by uid 1000); Fri, 12 Mar 2021 12:09:58 -0000 From: David Bremner To: notmuch@notmuchmail.org Cc: uncrustify Subject: [PATCH 3/4] test: run uncrustify Date: Fri, 12 Mar 2021 08:09:54 -0400 Message-Id: <20210312120955.2712730-4-david@tethera.net> X-Mailer: git-send-email 2.30.1 In-Reply-To: <20210312120955.2712730-1-david@tethera.net> References: <20210312120955.2712730-1-david@tethera.net> MIME-Version: 1.0 Message-ID-Hash: W2IDBKHHK6T3J5Y7DWHO4DRYDZUFS4ZA X-Message-ID-Hash: W2IDBKHHK6T3J5Y7DWHO4DRYDZUFS4ZA X-MailFrom: bremner@tethera.net 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 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=1615551027; 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; bh=eHQ8BjxqEbP4CRgUXwPocRGBsxDMHLyqUWVk4WWVveE=; b=aRw71LYw/iMyW4XQTl44ScN6N7HgJTRv/Qj7pFcsHv+kFOn82Z+OyHfKtZrUeD34cOJAjB nFUFx2E3KY1xk5y8qxpJxFsddbA1Bh7V1cARrGQGQbTmx9Sidd5JOA3q4uB/DXoKZ7rMra T8JL6iviQR+rlbB5f4tlzWEhaDown8FY+68d33eNs9qSRCIKVGgChkpUnp29beAZoi7eeI gKaVnxE7ZVDbte4pkaqT2+2mJiPjbff/AaEcpoZtdIelJTvX62mj50G/4eojNkxq9pV/00 kgm9By0bc7keIJzum2Pp195mFvoGFSsnTj1KvELD39wX12qTDxkjUwsdYYWGOA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1615551027; a=rsa-sha256; cv=none; b=i595UPYCrrkFX0BIQHXkTLB5kRU7nsoQiiM0d9IG2WLveLANHToFTuXydRkJLSvAvRz8Wj KwvSVTJNsEn7cnOfZmEe4N4qk94j+cjuDHMJRxSFLOaQnwOs7AnMOv4VGSfqbNnpFAxwCs yjf8A7mzajQc+ujuX7UN6m8N36gJ2fiRug9gNvxskvUirnSP+1f6QeAzSSBxh3UfXSr9KC wkm9SCtPaIdC9RwMvsl2Ht0cq88c0l274/nJCVYCcj5WDV0MF2Xq1iO5FZ5u257jqryLBf Iof/yzdp2wyfLKK30kC1SpMBf10mBiA1VlHZ7xp3vHtYWz0Rf+1Kh1QdA6KOUQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=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: -1.08 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=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: 81952E2E8 X-Spam-Score: -1.08 X-Migadu-Scanner: scn0.migadu.com X-TUID: cqujYYIUN75W From: uncrustify This is the result of running: $ uncrustify --replace --config ../devel/uncrustify.cfg *.cc *.c *.h in the test directory. --- test/ghost-report.cc | 1 + test/make-db-version.cc | 1 + test/random-corpus.c | 1 + 3 files changed, 3 insertions(+) diff --git a/test/ghost-report.cc b/test/ghost-report.cc index fad9a71d..9d9e7a7f 100644 --- a/test/ghost-report.cc +++ b/test/ghost-report.cc @@ -12,5 +12,6 @@ main (int argc, char **argv) } Xapian::Database db (argv[1]); + std::cout << db.get_termfreq ("Tghost") << std::endl; } diff --git a/test/make-db-version.cc b/test/make-db-version.cc index 78feaf72..238584e2 100644 --- a/test/make-db-version.cc +++ b/test/make-db-version.cc @@ -17,6 +17,7 @@ main (int argc, char **argv) } std::string nmpath (argv[1]); + nmpath += "/.notmuch"; if (mkdir (nmpath.c_str (), 0777) < 0) { perror (("failed to create " + nmpath).c_str ()); diff --git a/test/random-corpus.c b/test/random-corpus.c index ff413252..d0354e35 100644 --- a/test/random-corpus.c +++ b/test/random-corpus.c @@ -190,6 +190,7 @@ main (int argc, char **argv) srandom (seed); int count; + for (count = 0; count < num_messages; count++) { int j; /* explicitly allow zero tags */ -- 2.30.1