Avoid that shellcheck reports the following:

check:396:2: warning: Use var=$(command) to assign output (or quote to assign 
string). [SC2209]

Signed-off-by: Bart Van Assche <bart.vanass...@wdc.com>
---
 check | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/check b/check
index f1feb96b293e..e7439e163884 100755
--- a/check
+++ b/check
@@ -393,7 +393,7 @@ _call_test() {
 _run_test() {
        TEST_NAME="$1"
        CHECK_DMESG=1
-       DMESG_FILTER=cat
+       DMESG_FILTER="cat"
 
        # shellcheck disable=SC1090
        . "tests/${TEST_NAME}"
-- 
2.17.1

Reply via email to