From 4a6146048da7e6b1d8cac019bf9d58039271e322 Mon Sep 17 00:00:00 2001 From: Tommy Bidne Date: Thu, 14 Mar 2024 13:03:05 +1300 Subject: [PATCH] Improve buffering test --- test/functional/Functional/Buffering.hs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/test/functional/Functional/Buffering.hs b/test/functional/Functional/Buffering.hs index 80523c49..60c1e564 100644 --- a/test/functional/Functional/Buffering.hs +++ b/test/functional/Functional/Buffering.hs @@ -28,12 +28,12 @@ logsNoBuffer = -- literally i.e. {0..3}. The manual listing of indices appears to work, -- however args = - [ "--cmd-log", - "--cmd-log-strip-control=all", - "--cmd-name-trunc=15", - "--no-config", - "for i in 0 1 2 3; do echo \"$i\"; sleep 1.5; done" - ] + withNoConfig + [ "--cmd-log", + "--cmd-log-strip-control=all", + "--cmd-name-trunc=15", + "for i in 0 1 2 3; do echo \"$i\"; sleep 1.5; done" + ] -- To test that the logs are correctly streamed, we check that actual -- order of logs against the timing logs. This is a bit hacky, but the