diff --git a/test/bdev/blockdev.sh b/test/bdev/blockdev.sh index fedbccc08..f6d030684 100755 --- a/test/bdev/blockdev.sh +++ b/test/bdev/blockdev.sh @@ -149,6 +149,9 @@ if [ -d /usr/src/fio ]; then timing_exit fio_trim report_test_completion "bdev_fio" timing_exit fio +else + echo "FIO not available" + exit 1 fi # Create conf file for bdevperf with gpt diff --git a/test/nvmf/host/fio.sh b/test/nvmf/host/fio.sh index c99414ed8..7de9bcc8e 100755 --- a/test/nvmf/host/fio.sh +++ b/test/nvmf/host/fio.sh @@ -12,7 +12,7 @@ nvmftestinit if [ ! -d /usr/src/fio ]; then echo "FIO not available" - exit 0 + exit 1 fi timing_enter fio