From nobody Thu Jan 8 12:13:00 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) client-ip=8.43.85.245; envelope-from=devel-bounces@lists.libvirt.org; helo=lists.libvirt.org; Received-SPF: pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) client-ip=8.43.85.245; envelope-from=devel-bounces@lists.libvirt.org; helo=lists.libvirt.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) smtp.mailfrom=devel-bounces@lists.libvirt.org; dmarc=pass(p=reject dis=none) header.from=lists.libvirt.org ARC-Seal: i=1; a=rsa-sha256; t=1767345585; cv=none; d=zohomail.com; s=zohoarc; b=ifygz3SJG+o25kDah5M/E9yu7rNiB7GtZRnC4Pjx0Feupbq6SBsY+II+pYi1gXGWPII/DHifQ4biB5kVRhQkPpG8I1LB1mSDAxskP8yz7fnQZrY3muCbSh7T3/JUbiO2F1u3WIpO3GGF0hsWFnfZfPu/nV1LQ66iCgI1DGYJA08= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1767345585; h=Content-Type:Content-Transfer-Encoding:Date:Date:From:From:List-Subscribe:List-Post:List-Owner:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:Reply-To:Subject:Subject:To:To:Message-Id:Cc; bh=TyQ5/NJG5Owe4suHpYfi71CltzS6gBOI/p+jFEJAHHs=; b=cYUKcI/X4Zp/9VGJbBtXltaDPeSGqJ2IhOVycG8+rd8GsCnh9+2Scj9ggOFK1qRZOi7ZnmaMGVV0J7jLE8pouFpo+fK3UC9KXv9nyvQIYroPVFMWmhlBqqasR3xIowWbWT0t5wVP3WAk1LNbaOJXETK8vpnAyDwZGaytMHwTeN0= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) smtp.mailfrom=devel-bounces@lists.libvirt.org; dmarc=pass header.from= (p=reject dis=none) Return-Path: Received: from lists.libvirt.org (lists.libvirt.org [8.43.85.245]) by mx.zohomail.com with SMTPS id 1767345585504844.2871532449695; Fri, 2 Jan 2026 01:19:45 -0800 (PST) Received: by lists.libvirt.org (Postfix, from userid 993) id A954741864; Fri, 2 Jan 2026 04:19:43 -0500 (EST) Received: from [172.19.199.83] (lists.libvirt.org [8.43.85.245]) by lists.libvirt.org (Postfix) with ESMTP id D06644185F; Fri, 2 Jan 2026 04:19:08 -0500 (EST) Received: by lists.libvirt.org (Postfix, from userid 993) id 423E63FCA6; Fri, 2 Jan 2026 04:19:02 -0500 (EST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (3072 bits) server-digest SHA256) (No client certificate requested) by lists.libvirt.org (Postfix) with ESMTPS id 334DC3FC7D for ; Fri, 2 Jan 2026 04:19:01 -0500 (EST) Received: from mail-wr1-f71.google.com (mail-wr1-f71.google.com [209.85.221.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-572-AKbq3JmJOAG_3o_whC0gbA-1; Fri, 02 Jan 2026 04:18:58 -0500 Received: by mail-wr1-f71.google.com with SMTP id ffacd0b85a97d-430fe16b481so6076533f8f.3 for ; Fri, 02 Jan 2026 01:18:58 -0800 (PST) Received: from wheatley.localdomain ([213.175.46.86]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-4324ea226d1sm85730666f8f.13.2026.01.02.01.18.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Jan 2026 01:18:56 -0800 (PST) Received: from wheatley.pinto-pinecone.ts.net (wheatley.k8r.cz [127.0.0.1]) by wheatley.localdomain (Postfix) with ESMTP id C18D810702B47 for ; Fri, 02 Jan 2026 10:18:55 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on lists.libvirt.org X-Spam-Level: X-Spam-Status: No, score=-5.0 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED,RCVD_IN_VALIDITY_RPBL_BLOCKED, RCVD_IN_VALIDITY_SAFE_BLOCKED,SPF_PASS autolearn=unavailable autolearn_force=no version=4.0.1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1767345540; 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; bh=TyQ5/NJG5Owe4suHpYfi71CltzS6gBOI/p+jFEJAHHs=; b=hbhBOyJQ2XwtJcCG4lgm0Vaav50QIbeoLHfjVUYsXQbDATrPjp0IYjsyYDV7PM8PlJApj5 kn8QvU7/tblAyk6f9ix4jHe3jGglIIq841IQD66e+A+4QUhygqLkDULR6uXs/IdgOLxFiW UI325ygR0Ec81IHv5i5Vx/Nc4O4+xZ0= X-MC-Unique: AKbq3JmJOAG_3o_whC0gbA-1 X-Mimecast-MFC-AGG-ID: AKbq3JmJOAG_3o_whC0gbA_1767345537 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1767345537; x=1767950337; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=TyQ5/NJG5Owe4suHpYfi71CltzS6gBOI/p+jFEJAHHs=; b=LingHNiX6F9QfaRifhxmth1nhi96qfULkE/g67qjxwBD6jo8pwJJKrTfFty+lE30VD yMpbED/KmxURc+7/92cisX4qnkTOe3k39WJ8fObs8+magag+bPzRhQ0X70oLcp2zSRnA qeYGr0di8PRzzrGpmei/Z3QWElU6vZx7CqB7sLtPHN0yp90n9pl2o9qBa+vTZpzOt4Xp OA9ZPpfdcgge2CYi23jd0q/pStg5jOlCZS2KGUP3T0QKnJXEsC/w1+YRmCaA+gPusNDY EPycmChI8qMJZ6AswEBghqXxoNt1+Icr6IlE/HhmUNBfr8fBICThOh8XrZ2o/JSpufuf cj4A== X-Gm-Message-State: AOJu0YxCVPxMqvacqcIk8duPtX58ziM6WWR8o4Uee8XMBCOY2yHe8Wm8 MXsyNT49lVP21z06CipA+YLXUhDRmYk4vMX/+rdPlV7+PL8iXAaslhym/O6NrF28WBQgM6HVrP6 VW4lPCi8Dsu27T6P1vF/OXrfHNrF8drE3+u2+6eFQbJSX5rgPG8HJNYm8taMv5UkJbpQM+3Z8yu 6ANLFKftjcGl9yyb6whWI2U9eo50r4kVbxsYnu5GfHd3w= X-Gm-Gg: AY/fxX4FNwplU4/joF9u/U4JqNLVPin8a77PzIZK11YnJpoahHSf6ASSzmMe4Cm2na/ cC405Tq38lVtlMEcDDwQ2+g3pRDHKB88xlh/mcbmLo2LglUx53du4aFCurtYpcuwXH73eMt826t A9GzSl/LDCncfUzuduBlZTW6pN5t7bo/BSocrx4DfkHhV3JrMQBD7Ggj0XGBeWxjLcnVQDVyW4l ckyl/e+bT9FlBq3dkw3z0R6yaRJpvDkljLXeiHAuSYUXSNQWG6im5l1at7HyVxZo2gbRF4CSQrJ 8bZZ140pUqMy2qfcy3dKdQuf+2taYf1jKruOgQEtdgom8IQODjPGj2PtY0TGEUt1SKAC3tcpC+1 1EQYBS39cJA== X-Received: by 2002:a5d:54d2:0:b0:432:5c34:fb22 with SMTP id ffacd0b85a97d-4325c34fe1emr47494577f8f.22.1767345537139; Fri, 02 Jan 2026 01:18:57 -0800 (PST) X-Google-Smtp-Source: AGHT+IGlF1bvzfeQDPzzc8pkn9oa5CgCSX01s3wpQ2oZA25Y0bAC1D1fSB3y+XIu20QbZJyxuj4E8g== X-Received: by 2002:a5d:54d2:0:b0:432:5c34:fb22 with SMTP id ffacd0b85a97d-4325c34fe1emr47494547f8f.22.1767345536618; Fri, 02 Jan 2026 01:18:56 -0800 (PST) To: devel@lists.libvirt.org Subject: [PATCH] tests: Remove temporary TZ parsing workaround Date: Fri, 2 Jan 2026 10:18:51 +0100 Message-ID: <39e64a0bda3d1f6fd720faca1e034ab1f1f5dc11.1767345531.git.mkletzan@redhat.com> X-Mailer: git-send-email 2.52.0 MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: GCqLT-e_4WOM6p8Vhxix27_hcM-uFeB5sUJnSLefNWY_1767345537 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable Message-ID-Hash: AALYQLFDVIHWBGQKEQ2N7EW4FH3ORKJ6 X-Message-ID-Hash: AALYQLFDVIHWBGQKEQ2N7EW4FH3ORKJ6 X-MailFrom: mkletzan@redhat.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; header-match-devel.lists.libvirt.org-0; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.10 Precedence: list List-Id: Development discussions about the libvirt library & tools Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: Martin Kletzander via Devel Reply-To: Martin Kletzander X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZM-MESSAGEID: 1767345590448158500 Content-Type: text/plain; charset="utf-8"; x-default="true" From: Martin Kletzander This partially reverts commit 3caa28dc50df which changed the DST times to start at Jan 2 due to an issue that is already solved in GLib that we require for almost a year now. This also fixes the test failures that would go away on Jan 2 11:00 UTC (less than two hours from writing this commit message) due to the timezone definitions (the last failing test case has a timezone which is UTC+11:00), but because of the change from '0/' to '1/' it did occur on a day which is not caught by isNearYearEnd() which exists solely for this purpose. Signed-off-by: Martin Kletzander Reviewed-by: Michal Privoznik --- tests/virtimetest.c | 21 +++++++-------------- 1 file changed, 7 insertions(+), 14 deletions(-) diff --git a/tests/virtimetest.c b/tests/virtimetest.c index 5972ce585ec9..62ff2faf35cf 100644 --- a/tests/virtimetest.c +++ b/tests/virtimetest.c @@ -190,27 +190,20 @@ mymain(void) /* test DST processing with timezones that always * have DST in effect; what's more, cover a zone with * with an unusual DST different than a usual one hour - * - * These tests originally used '0' as the first day, - * but changed to '1' due to GLib GTimeZone parsing bug: - * https://gitlab.gnome.org/GNOME/glib/issues/1999 - * - * Once we depend on a new enough GLib (>=3D 2.63.4), we - * can put them back to 0 again. */ - TEST_LOCALOFFSET("VIR-00:30VID,1/00:00:00,364/23:59:59", + TEST_LOCALOFFSET("VIR-00:30VID,0/00:00:00,364/23:59:59", ((1 * 60) + 30) * 60); - TEST_LOCALOFFSET("VIR-02:30VID,1/00:00:00,364/23:59:59", + TEST_LOCALOFFSET("VIR-02:30VID,0/00:00:00,364/23:59:59", ((3 * 60) + 30) * 60); - TEST_LOCALOFFSET("VIR-02:30VID-04:30,1/00:00:00,364/23:59:59", + TEST_LOCALOFFSET("VIR-02:30VID-04:30,0/00:00:00,364/23:59:59", ((4 * 60) + 30) * 60); - TEST_LOCALOFFSET("VIR-12:00VID-13:00,1/00:00:00,364/23:59:59", + TEST_LOCALOFFSET("VIR-12:00VID-13:00,0/00:00:00,364/23:59:59", ((13 * 60) + 0) * 60); - TEST_LOCALOFFSET("VIR02:45VID00:45,1/00:00:00,364/23:59:59", + TEST_LOCALOFFSET("VIR02:45VID00:45,0/00:00:00,364/23:59:59", -45 * 60); - TEST_LOCALOFFSET("VIR05:00VID04:00,1/00:00:00,364/23:59:59", + TEST_LOCALOFFSET("VIR05:00VID04:00,0/00:00:00,364/23:59:59", ((-4 * 60) + 0) * 60); - TEST_LOCALOFFSET("VIR11:00VID10:00,1/00:00:00,364/23:59:59", + TEST_LOCALOFFSET("VIR11:00VID10:00,0/00:00:00,364/23:59:59", ((-10 * 60) + 0) * 60); } =20 --=20 2.52.0