mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-22 22:03:43 +03:00
test-terminal-util: print value of colors_enabled()
This makes it easier to diagnose why colors are disabled. (cherry picked from commit b137b2979868e2de5fb5c26e90bacee33597b8e7) (cherry picked from commit bbdb5f97a96e5942bb055770366e0d48c3ee8540) (cherry picked from commit f120804bb746113d911e8bdf53616aa21a6ecf6b) (cherry picked from commit f40708b6de482aa2fdd785d6047c22694ebc6414)
This commit is contained in:
parent
3840328782
commit
90010fbc83
@ -21,6 +21,10 @@
|
||||
"in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat " \
|
||||
"non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."
|
||||
|
||||
TEST(colors_enabled) {
|
||||
log_info("colors_enabled: %s", yes_no(colors_enabled()));
|
||||
}
|
||||
|
||||
TEST(default_term_for_tty) {
|
||||
puts(default_term_for_tty("/dev/tty23"));
|
||||
puts(default_term_for_tty("/dev/ttyS23"));
|
||||
|
Loading…
x
Reference in New Issue
Block a user