Task #49742 - tmt-1.47.0.dev3+g747f68d7-1.20250414083531178359.pr3665.3.g747f68d7/scan-results.err
back to task #49742download
Error: SHELLCHECK_WARNING (CWE-153): /usr/lib/python3.13/site-packages/tmt/steps/execute/scripts/tmt-reboot:31:23: warning[SC2053]: Quote the right-hand side of == in [[ ]] to prevent glob matching. # 29| # if somehow os boot entry is configured to the top of boot order, # 30| # we move it to the end of the order, to avoid breaking the system. # 31|-> if [[ $first_boot == $os_boot_entry ]]; then # 32| BOOT_LIST=$(efibootmgr | awk '/BootOrder/ { print $2 }' | cut -d, -f2-) # 33| efibootmgr -o "${BOOT_LIST},${BOOTC_BOOT}" Error: SHELLCHECK_WARNING (CWE-457): /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): /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): /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): /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): /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|