From 1aa1bd769f8cf63d2ed16261b3c2f7b4241db0ec Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Fri, 28 Sep 2018 14:51:29 -0700 Subject: [PATCH] t/zbd/test-zbd-support: Ensure that an assertion failure causes this test to fail Switch to threaded mode to make sure that an assertion failure results in a non-zero exit status. Signed-off-by: Bart Van Assche Cc: Damien Le Moal Signed-off-by: Jens Axboe --- t/zbd/test-zbd-support | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/zbd/test-zbd-support b/t/zbd/test-zbd-support index 6ee5055b..afe22909 100755 --- a/t/zbd/test-zbd-support +++ b/t/zbd/test-zbd-support @@ -113,7 +113,7 @@ run_fio_on_seq() { # Check whether buffered writes are refused. test1() { run_fio --name=job1 --filename="$dev" --rw=write --direct=0 --bs=4K \ - --size="${zone_size}" \ + --size="${zone_size}" --thread=1 \ --zonemode=zbd --zonesize="${zone_size}" 2>&1 | tee -a "${logfile}.${test_number}" | grep -q 'Using direct I/O is mandatory for writing to ZBD drives' -- 2.25.1