blob: ca27ac452d31ab52eefa8f783b54b55440c876f3 (
plain)
1
2
3
4
5
6
7
8
9
|
#!/bin/sh
case "$1" in
fio)
# null ioengine discards all I/O — quick sanity check with no disk access
fio --name=sanity --ioengine=null --rw=randwrite --size=64k \
--bs=4k --iodepth=1 --numjobs=1 2>&1 | grep -qF "sanity"
;;
esac
|