]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
tests: virtimetest: Move comment
authorAndrea Bolognani <abologna@redhat.com>
Sat, 1 Jan 2022 18:38:57 +0000 (19:38 +0100)
committerAndrea Bolognani <abologna@redhat.com>
Mon, 3 Jan 2022 08:38:44 +0000 (09:38 +0100)
Will keep things reasonable as we perform further code
movements.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Laine Stump <laine@redhat.com>
tests/virtimetest.c

index 573624572215b81aebe295c088f2a3d580d8124e..fffd18961248ff602879458050f3bb859bd8e759 100644 (file)
@@ -197,19 +197,18 @@ mymain(void)
     TEST_LOCALOFFSET("VIR-12:00VID-13:00,1/00:00:00,364/23:59:59",
                      ((13 * 60) +  0) * 60);
 
+    /* experiments have shown that the following tests will fail
+     * during certain hours of Dec 31 or Jan 1 (depending on the
+     * TZ setting in the shell running the test, but in general
+     * for a period that apparently starts at 00:00:00 UTC Jan 1
+     * and continues for 1 - 2 hours). We've determined this is
+     * due to our inability to specify a timezone with DST on/off
+     * settings that make it truly *always* on DST - i.e. it is a
+     * failing of the test data, *not* of the function we are
+     * testing. So to test as much as possible, we still run these
+     * tests, except on Dec 31 and Jan 1.
+     */
     if (!isNearYearEnd()) {
-        /* experiments have shown that the following tests will fail
-         * during certain hours of Dec 31 or Jan 1 (depending on the
-         * TZ setting in the shell running the test, but in general
-         * for a period that apparently starts at 00:00:00 UTC Jan 1
-         * and continues for 1 - 2 hours). We've determined this is
-         * due to our inability to specify a timezone with DST on/off
-         * settings that make it truly *always* on DST - i.e. it is a
-         * failing of the test data, *not* of the function we are
-         * testing. So to test as much as possible, we still run these
-         * tests, except on Dec 31 and Jan 1.
-         */
-
         TEST_LOCALOFFSET("VIR02:45VID00:45,1/00:00:00,364/23:59:59",
                          -45 * 60);
         TEST_LOCALOFFSET("VIR05:00VID04:00,1/00:00:00,364/23:59:59",