projects
/
systemd
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dc0e9c9
)
test: make sure colors don't confuse our test
author
Lennart Poettering
<lennart@poettering.net>
Tue, 16 Jul 2019 10:42:43 +0000
(12:42 +0200)
committer
Lennart Poettering
<lennart@poettering.net>
Tue, 16 Jul 2019 10:42:43 +0000
(12:42 +0200)
src/test/test-format-table.c
patch
|
blob
|
history
diff --git
a/src/test/test-format-table.c
b/src/test/test-format-table.c
index 5bede5c75b4b04555b91bb5657cd9ea7ea3b04f0..a8b6e1ffe3205eb6e0476bb176f8c9573050f817 100644
(file)
--- a/
src/test/test-format-table.c
+++ b/
src/test/test-format-table.c
@@
-34,6
+34,7
@@
int main(int argc, char *argv[]) {
_cleanup_(table_unrefp) Table *t = NULL;
_cleanup_free_ char *formatted = NULL;
+ assert_se(setenv("SYSTEMD_COLORS", "0", 1) >= 0);
assert_se(setenv("COLUMNS", "40", 1) >= 0);
assert_se(t = table_new("one", "two", "three"));