mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-04-10 13:45:12 -04:00
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.com> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
This commit is contained in:
committed by
Shuah Khan
parent
7c079e909b
commit
6934eea269
@@ -19,6 +19,11 @@ ktap_print_header() {
|
||||
echo "TAP version 13"
|
||||
}
|
||||
|
||||
ktap_print_msg()
|
||||
{
|
||||
echo "#" $@
|
||||
}
|
||||
|
||||
ktap_set_plan() {
|
||||
num_tests="$1"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user