diff --git a/tests/wifi_test.go b/tests/wifi_test.go index 25577a0..e07a0ae 100644 --- a/tests/wifi_test.go +++ b/tests/wifi_test.go @@ -39,6 +39,8 @@ func TestAllClustersAppWiFi(t *testing.T) { }) t.Run("Control", func(t *testing.T) { + // stdbuf --output=L sets the output stream to line buffered + stdout, _, _ := utils.Exec(t, "stdbuf --output=L sudo chip-tool onoff toggle 110 1 2>&1") writeLogFile(t, "chip-tool-onoff", []byte(stdout))