mirror of
https://passt.top/passt
synced 2024-11-05 20:31:11 +00:00
ff2ff2fbca
test/pasta_options/log_to_file checks that pasta truncates its log file
when started. It does that by starting pasta with a log file once, then
starting it again and checking that after the second round, the log file
has only one line: the startup banner from the second invocation.
However, this test will break if the second invocation logs any additional
messages at startup. This can easily happen on a host with multiple
network interfaces due to the "Multiple default route" informational
messages added in
|
||
---|---|---|
.. | ||
log_to_file |