]> git.baikalelectronics.ru Git - kernel.git/commit
kselftest: Support old perl versions
authorSeongJae Park <sjpark@amazon.de>
Mon, 2 Dec 2019 11:42:21 +0000 (12:42 +0100)
committerShuah Khan <skhan@linuxfoundation.org>
Wed, 11 Dec 2019 17:31:16 +0000 (10:31 -0700)
commit0d367e8a737e7a0bc5aeddc7e620c9f4bdf8792c
treec5df20c8c946dc21a4c9e163201fbd55515e0c48
parent877935ba0068cb215a32403664e774e412086d48
kselftest: Support old perl versions

On an old perl such as v5.10.1, `kselftest/prefix.pl` gives below error
message:

    Can't locate object method "autoflush" via package "IO::Handle" at kselftest/prefix.pl line 10.

This commit fixes the error by explicitly specifying the use of the
`IO::Handle` package.

Signed-off-by: SeongJae Park <sjpark@amazon.de>
Acked-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
tools/testing/selftests/kselftest/prefix.pl