diff options
| author | Kees Cook <[email protected]> | 2019-05-20 22:37:48 +0000 |
|---|---|---|
| committer | Shuah Khan <[email protected]> | 2019-05-21 15:24:30 +0000 |
| commit | e8108866cac5058ae5aff5fa601f91bda29128f2 (patch) | |
| tree | fc1775d5db653f41cc738d9949d679362a6d8796 /tools/perf/scripts/python/sctop.py | |
| parent | selftests/x86: Support Atom for syscall_arg_fault test (diff) | |
| download | kernel-e8108866cac5058ae5aff5fa601f91bda29128f2.tar.gz kernel-e8108866cac5058ae5aff5fa601f91bda29128f2.zip | |
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: 5c069b6dedef ("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]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions
