mirror of
https://github.com/systemd/systemd.git
synced 2025-03-31 14:50:15 +03:00
test: make sure colors don't confuse our test
This commit is contained in:
parent
dc0e9c9ba6
commit
dea55040df
@ -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"));
|
||||
|
Loading…
x
Reference in New Issue
Block a user