zbd: Improve robustness of unit tests
[fio.git] / t / zbd / run-tests-against-zoned-nullb
index 9336716d47626da7523d77d17156c7bb3dfed3f0..0952011c576e04af1d5ffedaf4db5a58b40b36f7 100755 (executable)
@@ -24,6 +24,6 @@ modprobe null_blk nr_devices=0 &&
     echo 4096 > blocksize &&
     echo 1024 > size &&
     echo 1 > memory_backed &&
-    echo 1 > power
+    echo 1 > power || exit $?
 
 "${scriptdir}"/test-zbd-support "$@" /dev/nullb0