You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
selftests: Remove forced unbuffering for test running
As it turns out, the "stdbuf" command will actually force all
subprocesses into unbuffered output, and some implementations of "echo"
turn into single-character writes, which utterly wrecks writes to /sys
and /proc files.
Instead, drop the "stdbuf" usage, and for any tests that want explicit
flushing between newlines, they'll have to add "fflush(stdout);" as
needed.
Reported-by: Takashi Iwai <[email protected]>
Fixes: 5c069b6 ("selftests: Move test output to diagnostic lines")
Signed-off-by: Kees Cook <[email protected]>
Tested-by: Takashi Iwai <[email protected]>
Signed-off-by: Shuah Khan <[email protected]>
0 commit comments