]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
test-unit-file: enable colors
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 29 Apr 2021 12:36:44 +0000 (14:36 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 4 May 2021 11:36:05 +0000 (13:36 +0200)
There's quite a lot of output and it's much easier to grok this way.

src/test/test-unit-file.c

index 8f9679051daaca6c3990bbb651537f3803c440f2..477ae03a0231fe8a62c432267c342a189d813a96 100644 (file)
@@ -92,6 +92,7 @@ static void test_runlevel_to_target(void) {
 }
 
 int main(int argc, char **argv) {
+        log_show_color(true);
         test_setup_logging(LOG_DEBUG);
 
         test_unit_validate_alias_symlink_and_warn();