From: Petr Špaček Date: Tue, 16 Apr 2019 10:31:05 +0000 (+0200) Subject: tests: disable output buffering in config tests X-Git-Tag: v4.0.0~4^2~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a1f494f9928db0e110365e3eb0b6d30d996c2aab;p=thirdparty%2Fknot-resolver.git tests: disable output buffering in config tests Output buffering in tests made debugging much harder because crash in middle of operation discarded while buffer and left us without a trace what was going on. --- diff --git a/tests/config/test.cfg b/tests/config/test.cfg index 70d36845e..23a712f09 100644 --- a/tests/config/test.cfg +++ b/tests/config/test.cfg @@ -1,3 +1,7 @@ +-- disable output buffering to crashes do not leave us without log +io.stdout:setvbuf('no') +io.stderr:setvbuf('no') + -- modify path to be able to load testing modules package.path = package.path .. ';' .. env.SOURCE_PATH .. '/?.lua'