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 <[email protected]>
---
 check | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/check b/check
index d9ffea6ec1f6..cf2090f546a5 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