====== Checking before the patch ====== ====== Checking the tree with the patch ====== New errors added --- /tmp/tmp.6DmYu8eKQo 2025-08-27 20:33:20.393486862 -0700 +++ /tmp/tmp.RWpC6U6Fd4 2025-08-27 20:33:20.710484086 -0700 @@ -22 +22,11 @@ -In vmtest.sh line 178: +In vmtest.sh line 57: +readonly LOG_LEVEL_ERROR=3 + ^-------------^ SC2034 (warning): LOG_LEVEL_ERROR appears unused. Verify use (or export if used externally). + + +In vmtest.sh line 136: + for dep in vng ${QEMU} busybox pkill ssh; do + ^-----^ SC2153 (info): Possible misspelling: QEMU may not be assigned. Did you mean qemu? + + +In vmtest.sh line 183: @@ -30 +40 @@ -In vmtest.sh line 184: +In vmtest.sh line 189: @@ -35 +45 @@ -In vmtest.sh line 188: +In vmtest.sh line 193: @@ -43 +53 @@ -In vmtest.sh line 210: +In vmtest.sh line 215: @@ -51,3 +61,8 @@ -In vmtest.sh line 400: - host_oops_cnt_after=$(dmesg | grep -i 'Oops' | wc -l) - ^------------^ SC2126 (style): Consider using 'grep -c' instead of 'grep|wc -l'. +In vmtest.sh line 310: + LOG_PREFIX=host log $@ + ^-- SC2068 (error): Double quote array expansions to avoid re-splitting elements. + + +In vmtest.sh line 314: + LOG_PREFIX=guest log $@ + ^-- SC2068 (error): Double quote array expansions to avoid re-splitting elements. @@ -56,3 +71,3 @@ -In vmtest.sh line 412: - vm_oops_cnt_after=$(vm_ssh -- dmesg | grep -i 'Oops' | wc -l) - ^------------^ SC2126 (style): Consider using 'grep -c' instead of 'grep|wc -l'. +In vmtest.sh line 317: +} +^-- SC1089 (error): Parsing stopped here. Is this keyword correctly matched up? @@ -60,0 +76,2 @@ + https://www.shellcheck.net/wiki/SC2068 -- Double quote array expansions to ... + https://www.shellcheck.net/wiki/SC2034 -- LOG_LEVEL_ERROR appears unused. V... @@ -62,2 +78,0 @@ - https://www.shellcheck.net/wiki/SC2155 -- Declare and assign separately to ... - https://www.shellcheck.net/wiki/SC2164 -- Use 'popd ... || exit' or 'popd ....