Error: SHELLCHECK_WARNING (CWE-457): [#def1] /usr/share/doc/tmt/examples/convert/runtest.sh:20:22: warning[SC2154]: TmpDir is referenced but not assigned. # 18| rlAssertRpm $PACKAGE # 19| rlRun "TmpDir=\$(mktemp -d)" 0 "Creating tmp directory" # 20|-> rlRun "pushd $TmpDir" # 21| rlRun "set -o pipefail" # 22| rlPhaseEnd Error: SHELLCHECK_WARNING (CWE-457): [#def2] /usr/share/doc/tmt/examples/wow/full/test.sh:8:22: warning[SC2154]: tmp is referenced but not assigned. # 6| rlRun "tmp=\$(mktemp -d)" 0 "Create tmp directory" # 7| rlRun "run=/var/tmp/tmt/mini" # 8|-> rlRun "pushd $tmp" # 9| rlPhaseEnd # 10| Error: SHELLCHECK_WARNING (CWE-457): [#def3] /usr/share/doc/tmt/examples/wow/full/test.sh:22:27: warning[SC2154]: run is referenced but not assigned. # 20| report="$BEAKERLIB_COMMAND_REPORT_RESULT" # 21| export BEAKERLIB_COMMAND_REPORT_RESULT=/bin/true # 22|-> rlRun "tmt run -i $run -av \ # 23| prepare -h install -c psss/tmt -p tmt+all \ # 24| plan --name 'plans|container|virtual'" Error: SHELLCHECK_WARNING (CWE-457): [#def4] /usr/share/doc/tmt/examples/wow/mini/test.sh:8:22: warning[SC2154]: tmp is referenced but not assigned. # 6| rlRun "tmp=\$(mktemp -d)" 0 "Create tmp directory" # 7| rlRun "run=/var/tmp/tmt/mini" # 8|-> rlRun "pushd $tmp" # 9| rlPhaseEnd # 10| Error: SHELLCHECK_WARNING (CWE-457): [#def5] /usr/share/doc/tmt/examples/wow/mini/test.sh:14:27: warning[SC2154]: run is referenced but not assigned. # 12| rlRun "dnf install -y tmt" 0 "Install the base tmt package" # 13| rlRun "tmt init -t base" 0 "Initialize with the base template" # 14|-> rlRun "tmt run -i $run -av provision -h local" 0 "Run the example" # 15| rlPhaseEnd # 16|
| analyzer-version-clippy | 1.84.0 | 
| analyzer-version-cppcheck | 2.16.2 | 
| 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-146.us-west-2.compute.internal | 
| mock-config | fedora-rawhide-x86_64 | 
| project-name | tmt-1.42.0.dev30+gf38574e0-main | 
| store-results-to | /tmp/tmplg4apawi/tmt-1.42.0.dev30+gf38574e0-main.tar.xz | 
| time-created | 2025-01-29 20:50:56 | 
| time-finished | 2025-01-29 20:52:32 | 
| tool | csmock | 
| tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'shellcheck,unicontrol,clippy,cppcheck,gcc' '-o' '/tmp/tmplg4apawi/tmt-1.42.0.dev30+gf38574e0-main.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '/tmp/tmplg4apawi/tmt-1.42.0.dev30+gf38574e0-main.src.rpm' | 
| tool-version | csmock-3.8.0-1.el9 |