1 // SPDX-License-Identifier: GPL-2.0-or-later 2 /* 3 * Copyright (c) 2016 Linux Test Project 4 */ 5 6 #include <stdio.h> 7 #include "tst_test.h" 8 do_test(void)9static void do_test(void) 10 { 11 char tmp[] = "Hello from tst_res_hexd"; 12 13 tst_res_hexd(TPASS, tmp, sizeof(tmp), "%s%d", "dump", 1); 14 } 15 16 static struct tst_test test = { 17 .test_all = do_test, 18 }; 19