]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blob - tools/testing/selftests/lib/printf.sh
selftests/lib: set printf.sh executable
[mirror_ubuntu-artful-kernel.git] / tools / testing / selftests / lib / printf.sh
1 #!/bin/sh
2 # Runs printf infrastructure using test_printf kernel module
3
4 if /sbin/modprobe -q test_printf; then
5 /sbin/modprobe -q -r test_printf
6 echo "printf: ok"
7 else
8 echo "printf: [FAIL]"
9 exit 1
10 fi