Error: SHELLCHECK_WARNING: [#def1] /usr/bin/startlxqtwayland:6:5: warning[SC3043]: In POSIX sh, 'local' is undefined. # 4| contains() # 5| { # 6|-> local str="$1" substr="$2" # 7| [ "$str" = "$substr" -o -z "${str##$substr:*}" -o -z "${str##*:$substr:*}" -o -z "${str%%*:$substr}" ] # 8| } Error: SHELLCHECK_WARNING (CWE-477): [#def2] /usr/bin/startlxqtwayland:7:26: warning[SC2166]: Prefer [ p ] || [ q ] as [ p -o q ] is not well defined. # 5| { # 6| local str="$1" substr="$2" # 7|-> [ "$str" = "$substr" -o -z "${str##$substr:*}" -o -z "${str##*:$substr:*}" -o -z "${str%%*:$substr}" ] # 8| } # 9| Error: SHELLCHECK_WARNING (CWE-477): [#def3] /usr/bin/startlxqtwayland:7:52: warning[SC2166]: Prefer [ p ] || [ q ] as [ p -o q ] is not well defined. # 5| { # 6| local str="$1" substr="$2" # 7|-> [ "$str" = "$substr" -o -z "${str##$substr:*}" -o -z "${str##*:$substr:*}" -o -z "${str%%*:$substr}" ] # 8| } # 9| Error: SHELLCHECK_WARNING (CWE-477): [#def4] /usr/bin/startlxqtwayland:7:80: warning[SC2166]: Prefer [ p ] || [ q ] as [ p -o q ] is not well defined. # 5| { # 6| local str="$1" substr="$2" # 7|-> [ "$str" = "$substr" -o -z "${str##$substr:*}" -o -z "${str##*:$substr:*}" -o -z "${str%%*:$substr}" ] # 8| } # 9| Error: SHELLCHECK_WARNING (CWE-156): [#def5] /usr/bin/startlxqtwayland:84:22: warning[SC2046]: Quote this to prevent word splitting. # 82| export MOZ_ENABLE_WAYLAND=1 # 83| # 84|-> share_dir="$(dirname $(dirname "$0"))"/share # 85| # 86| valid_layouts=$(grep -A98 '! layout' /usr/share/X11/xkb/rules/base.lst | awk '{print $1}' | grep -v '!') Error: SHELLCHECK_WARNING: [#def6] /usr/share/lxqt/wayland/miriway/lxqt-miriway-wrapper:8:5: warning[SC3039]: In POSIX sh, 'let' is undefined. # 6| port=0 # 7| while [ -e "${XDG_RUNTIME_DIR}/wayland-${port}" ]; do # 8|-> let port+=1 # 9| done # 10| wayland_display=wayland-${port} Error: SHELLCHECK_WARNING: [#def7] /usr/share/lxqt/wayland/miriway/lxqt-miriway-wrapper:43:31: warning[SC3020]: In POSIX sh, &> is undefined. # 41| until [ -O "${XDG_RUNTIME_DIR}/${WAYLAND_DISPLAY}" ] # 42| do # 43|-> if ! kill -0 ${miriway_pid} &> /dev/null # 44| then # 45| echo "ERROR: miriway-shell [pid=${miriway_pid}] is not running"
analyzer-version-clippy | 1.86.0 |
analyzer-version-cppcheck | 2.17.1 |
analyzer-version-gcc | 15.0.1 |
analyzer-version-gcc-analyzer | 15.0.1 |
analyzer-version-shellcheck | 0.10.0 |
analyzer-version-unicontrol | 0.0.2 |
enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
exit-code | 0 |
host | ip-172-16-1-138.us-west-2.compute.internal |
known-false-positives | /usr/share/csmock/known-false-positives.js |
known-false-positives-rpm | known-false-positives-0.0.0.20250425.124705.g1c7c448.main-1.el9.noarch |
mock-config | fedora-rawhide-x86_64 |
project-name | lxqt-wayland-session-0.1.1-13.fc43 |
store-results-to | /tmp/tmpws93hi5g/lxqt-wayland-session-0.1.1-13.fc43.tar.xz |
time-created | 2025-04-25 14:24:21 |
time-finished | 2025-04-25 14:25:48 |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'unicontrol,cppcheck,gcc,clippy,shellcheck' '-o' '/tmp/tmpws93hi5g/lxqt-wayland-session-0.1.1-13.fc43.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpws93hi5g/lxqt-wayland-session-0.1.1-13.fc43.src.rpm' |
tool-version | csmock-3.8.1.20250422.172604.g26bc3d6-1.el9 |