1#!/bin/sh 2# Runs printf infrastructure using test_printf kernel module 3if ! /sbin/modprobe -q -n test_printf; then 4 echo "printf: [SKIP]" 5 exit 77 6fi 7 8if /sbin/modprobe -q test_printf; then 9 /sbin/modprobe -q -r test_printf 10 echo "printf: ok" 11else 12 echo "printf: [FAIL]" 13 exit 1 14fi 15