irqchip: Fix dependencies for archs w/o HAS_IOMEM
[linux/fpc-iii.git] / tools / testing / selftests / lib / printf.sh
blob4fdc70fe6980273f6058b27c6337dcaf187d47cf
1 #!/bin/sh
2 # Runs printf infrastructure using test_printf kernel module
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