]> granicus.if.org Git - postgresql/commitdiff
Align timestamps in pg_regress output
authorPeter Eisentraut <peter@eisentraut.org>
Mon, 25 Mar 2019 09:00:11 +0000 (10:00 +0100)
committerPeter Eisentraut <peter@eisentraut.org>
Mon, 25 Mar 2019 09:02:24 +0000 (10:02 +0100)
This way the timestamps line up in a mix of "ok" and "FAILED" output.

Author: Christoph Berg <christoph.berg@credativ.de>
Discussion: https://www.postgresql.org/message-id/20190321115059.GF2687%40msg.df7cb.de

src/test/regress/pg_regress.c

index a18a6f6c45ad7b7e929a8440fe74a22dd68a90f0..8111d95b1eaa67af5722bd065e41b06a614b1d8b 100644 (file)
@@ -1799,7 +1799,7 @@ run_schedule(const char *schedule, test_function tfunc)
                        }
                        else
                        {
-                               status(_("ok"));
+                               status(_("ok    ")); /* align with FAILED */
                                success_count++;
                        }
 
@@ -1879,7 +1879,7 @@ run_single_test(const char *test, test_function tfunc)
        }
        else
        {
-               status(_("ok"));
+               status(_("ok    ")); /* align with FAILED */
                success_count++;
        }