]> www.infradead.org Git - users/hch/blktests.git/commitdiff
check: default CAN_BE_ZONED to 0
authorOmar Sandoval <osandov@fb.com>
Wed, 27 Feb 2019 19:21:10 +0000 (11:21 -0800)
committerOmar Sandoval <osandov@fb.com>
Wed, 27 Feb 2019 19:21:10 +0000 (11:21 -0800)
Otherwise, the srp tests print:

./check: line 433: CAN_BE_ZONED: unbound variable

Signed-off-by: Omar Sandoval <osandov@fb.com>
check

diff --git a/check b/check
index f41ecbadd3f6080c0286c4c1269de0ca7c36acfd..819d8f31f14e2e8b2dbb785f6656668b93c4dcfd 100755 (executable)
--- a/check
+++ b/check
@@ -414,6 +414,7 @@ _test_dev_is_zoned() {
 
 _run_test() {
        TEST_NAME="$1"
+       CAN_BE_ZONED=0
        CHECK_DMESG=1
        DMESG_FILTER="cat"
        RUN_FOR_ZONED=0