t/zbd/functions: Make fio_reset_count() return 0 if no resets occurred
authorBart Van Assche <bvanassche@acm.org>
Fri, 28 Sep 2018 21:51:28 +0000 (14:51 -0700)
committerJens Axboe <axboe@kernel.dk>
Sat, 29 Sep 2018 21:16:18 +0000 (15:16 -0600)
commit1b412cb45ceb198b881e6c724f11daf28e831977
tree1581ccc1375b4f506bde5280f2d640c6203b937f
parent2c477f4fe896aa059196eac73e569c47050fdfcc
t/zbd/functions: Make fio_reset_count() return 0 if no resets occurred

This patch avoids that certain bash versions report the following complaint:

t/zbd/test-zbd-support: line 69: [: : integer expression expected

Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Cc: Damien Le Moal <damien.lemoal@wdc.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
t/zbd/functions