Skip to content

Commit 6934eea

Browse files
nfrapradoshuahkh
authored andcommitted
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>
1 parent 7c079e9 commit 6934eea

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tools/testing/selftests/kselftest/ktap_helpers.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,11 @@ ktap_print_header() {
1919
echo "TAP version 13"
2020
}
2121

22+
ktap_print_msg()
23+
{
24+
echo "#" $@
25+
}
26+
2227
ktap_set_plan() {
2328
num_tests="$1"
2429

0 commit comments

Comments
 (0)