From: Omar Sandoval Date: Wed, 25 Apr 2018 22:08:43 +0000 (-0700) Subject: check: fix shellcheck warning on missing config X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=54a8509712c524ea46125e64af6af48f3a04d599;p=users%2Fsagi%2Fblktests.git check: fix shellcheck warning on missing config The config is optional, and shellcheck isn't smart enough to notice that it's guarded by a readable test. Signed-off-by: Omar Sandoval --- diff --git a/check b/check index 118b1d1..19f5456 100755 --- a/check +++ b/check @@ -569,6 +569,7 @@ EXCLUDE=() TEST_DEVS=() if [[ -r config ]]; then + # shellcheck disable=SC1091 . config fi