]> www.infradead.org Git - users/sagi/blktests.git/commitdiff
tests/srp/012: Do not fail if not all schedulers are available
authorBart Van Assche <bvanassche@acm.org>
Tue, 25 Sep 2018 23:34:43 +0000 (16:34 -0700)
committerBart Van Assche <bvanassche@acm.org>
Thu, 27 Sep 2018 17:56:42 +0000 (10:56 -0700)
Avoid that test 012 returns exit code 1 (failure) even if fio succeeded
due to an I/O scheduler not being available.

Signed-off-by: Bart Van Assche <bvanassche@acm.org>
tests/srp/012

index 239f51ae137a9bb4af89b9e56fc92161e14c3301..c2298a877df6c563f1de7b2ac0cf9d5f313e437f 100755 (executable)
@@ -45,6 +45,7 @@ test_io_schedulers() {
                                return $?
                done
        done
+       return 0
 }
 
 test() {