From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id ONEgK2BN0GFZggAAgWs5BA (envelope-from ) for ; Sat, 01 Jan 2022 13:47:28 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id KKugJ2BN0GEiIQEAauVa8A (envelope-from ) for ; Sat, 01 Jan 2022 13:47:28 +0100 Received: from mail.notmuchmail.org (yantan.tethera.net [135.181.149.255]) (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 7C2082EE69 for ; Sat, 1 Jan 2022 13:47:28 +0100 (CET) Received: from yantan.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id EF11E5F710; Sat, 1 Jan 2022 12:47:24 +0000 (UTC) Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197]) by mail.notmuchmail.org (Postfix) with ESMTP id A16B85F6BA for ; Sat, 1 Jan 2022 12:47:21 +0000 (UTC) Received: by fethera.tethera.net (Postfix, from userid 1001) id 2CFD75FC42; Sat, 1 Jan 2022 07:47:21 -0500 (EST) Received: (nullmailer pid 142344 invoked by uid 1000); Sat, 01 Jan 2022 12:47:19 -0000 From: David Bremner To: notmuch@notmuchmail.org Subject: [PATCH] test: fix deprecation warning in symbol-test Date: Sat, 1 Jan 2022 08:47:16 -0400 Message-Id: <20220101124716.142332-1-david@tethera.net> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Message-ID-Hash: 4LXJKNJOO2WFOGTLB6SMN2URMDLADOBJ X-Message-ID-Hash: 4LXJKNJOO2WFOGTLB6SMN2URMDLADOBJ 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; digests; suspicious-header X-Mailman-Version: 3.3.3 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_IN X-Migadu-Country: DE ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1641041248; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-owner:list-unsubscribe:list-subscribe:list-post; bh=utE2CNeVybp5f00lH4VKjVrMx5JjGt/p1xJemPl0YNM=; b=i2422MPyiV4TyIDM9MvoHQdf6+f2wz3h7IdsVjWn3dJWqIhejA1ppTvzECzgPv/pQi/WPQ 22eSiojP8sd+mp+hq1b75jymoPmy80aTXFjOLtvK7KYpwXlC8o2Z7dOB5ts2ZNoOyDIJ+O BIfVdC/kmLs7mftvhPqjF9iTwbC+ybtND3D5IZ/qQRpbdIH4pyE+lv2gYKFljH+LuU4Sq1 CrbmvDK1tlheZlkONmkURSrYFcivrVJbJ03EsA5IjAPCWc2ah2D6+Ec/X7HlzB/KB0Ey2Q Aw2rOjebFQuxXa4PrEWtHwLktyhPmJF3IVKQ2cd/YEjBHcxX+JeQixqQOrlmsA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1641041248; a=rsa-sha256; cv=none; b=KSGEH5Ob5d1JrmsWX83RsmMJuQP+WSUCzdee2UeVvcn9qid6OWt6fBfy8ExybwgDYtSSDl vl1EB4PtVkQxbceXJLKXqlBVYUrvFbbi82vAF7YTV6nwIcG11nypYUrbP0Rv4mrCJR0che O7UyyLRpImGfJzpcsslvbuE/UCy6ogLNyEpZubojtSy6NiIwBqXLnugGRNceCNVA1qGiSg OJXqaOvris/v0dQ3uu5/LhbdAwcE733Cg4HBWd/XJ5x6YNJFa7LeVuNy5XwZXpsiKjDfc8 u4X0+qvzBGzAgXHrLCCootTu2km4cLCNIynrd2qIoLFA3crwtn2K52kaMuSB3Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 135.181.149.255 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Spam-Score: -1.27 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 135.181.149.255 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Queue-Id: 7C2082EE69 X-Spam-Score: -1.27 X-Migadu-Scanner: scn1.migadu.com X-TUID: 3KZ8KPVObsEE Reduce the amount of noise in the build log. --- test/symbol-test.cc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/test/symbol-test.cc b/test/symbol-test.cc index 9d73a571..9e956ddf 100644 --- a/test/symbol-test.cc +++ b/test/symbol-test.cc @@ -12,8 +12,10 @@ main (int argc, char **argv) if (argc != 3) return 1; - if (notmuch_database_open_verbose (argv[1], NOTMUCH_DATABASE_MODE_READ_ONLY, - ¬much, &message)) { + if (notmuch_database_open_with_config (argv[1], NOTMUCH_DATABASE_MODE_READ_ONLY, + "", + NULL, + ¬much, &message)) { if (message) { fputs (message, stderr); free (message); -- 2.34.1