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:
Nícolas F. R. A. Prado 2024-01-31 17:02:40 -05:00 committed by Shuah Khan
parent 7c079e909b
commit 6934eea269

View File

@ -19,6 +19,11 @@ ktap_print_header() {
echo "TAP version 13"
}
ktap_print_msg()
{
echo "#" $@
}
ktap_set_plan() {
num_tests="$1"