========== shellcheck - FAILED ====== Checking before the patch ====== ====== Checking the tree with the patch ====== tools/net/ynl/tests/ynl_nsim_lib.sh is a new file, but not shellcheck compliant New errors added --- /tmp/tmp.1yuOl6Xuj8 2026-03-05 23:27:27.560645575 -0500 +++ /tmp/tmp.xpOCiDMYjh 2026-03-05 23:27:27.687644634 -0500 @@ -0,0 +1,7 @@ + +In ynl_nsim_lib.sh line 25: + NSIM_DEV=$(ls /sys/bus/netdevsim/devices/netdevsim${NSIM_ID}/net 2>/dev/null | head -1) + ^-- SC2012 (info): Use find instead of ls to better handle non-alphanumeric filenames. + +For more information: + https://www.shellcheck.net/wiki/SC2012 -- Use find instead of ls to better ...