| 2dd0b5a8 | 31-Jan-2024 |
Nícolas F. R. A. Prado <[email protected]> |
selftests: ktap_helpers: Add a helper to finish the test
Similar to the C counterpart, keep track of the number of test cases in the test plan and add a helper function to be called at the end of th
selftests: ktap_helpers: Add a helper to finish the test
Similar to the C counterpart, keep track of the number of test cases in the test plan and add a helper function to be called at the end of the test to print the results and exit with the corresponding exit code.
Signed-off-by: Nícolas F. R. A. Prado <[email protected]> Signed-off-by: Shuah Khan <[email protected]>
show more ...
|
| d63fde98 | 31-Jan-2024 |
Nícolas F. R. A. Prado <[email protected]> |
selftests: ktap_helpers: Add a helper to abort the test
Similar to the C counterpart, add a helper function to abort the remainder of the test.
Signed-off-by: Nícolas F. R. A. Prado <nfraprado@coll
selftests: ktap_helpers: Add a helper to abort the test
Similar to the C counterpart, add a helper function to abort the remainder of the test.
Signed-off-by: Nícolas F. R. A. Prado <[email protected]> Signed-off-by: Shuah Khan <[email protected]>
show more ...
|
| d90b7c70 | 31-Jan-2024 |
Nícolas F. R. A. Prado <[email protected]> |
selftests: ktap_helpers: Add helper to pass/fail test based on exit code
Similar to the C counterpart, add a helper function that runs a command and passes or fails the test based on the result.
Si
selftests: ktap_helpers: Add helper to pass/fail test based on exit code
Similar to the C counterpart, add a helper function that runs a command and passes or fails the test based on the result.
Signed-off-by: Nícolas F. R. A. Prado <[email protected]> Signed-off-by: Shuah Khan <[email protected]>
show more ...
|
| 6934eea2 | 31-Jan-2024 |
Nícolas F. R. A. Prado <[email protected]> |
selftests: ktap_helpers: Add helper to print diagnostic messages
Similar to the C counterpart, add a helper to print a diagnostic message.
Signed-off-by: Nícolas F. R. A. Prado <nfraprado@collabora
selftests: ktap_helpers: Add helper to print diagnostic messages
Similar to the C counterpart, add a helper to print a diagnostic message.
Signed-off-by: Nícolas F. R. A. Prado <[email protected]> Signed-off-by: Shuah Khan <[email protected]>
show more ...
|
| 4eac7344 | 02-Dec-2019 |
SeongJae Park <[email protected]> |
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 kselftes
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 <[email protected]> Acked-by: Kees Cook <[email protected]> Signed-off-by: Shuah Khan <[email protected]>
show more ...
|