diff options
author | Michael Boelen <michael.boelen@cisofy.com> | 2022-01-31 18:38:38 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-31 18:38:38 +0300 |
commit | 8604431e19835d4b59e3ebac4e23fc6011308a82 (patch) | |
tree | 298060a4908ea775cecac1ed796a8204238054eb | |
parent | ce4a0ce6bb3e4be5ad51b2fb054c4be5352abe74 (diff) | |
parent | 521487310f569e76c1f6c0c16ea63a60a398b719 (diff) |
Merge pull request #1261 from jsegitz/reboot_test
check /boot/vmlinuz as a symlink in the reboot test
-rw-r--r-- | include/tests_kernel | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/tests_kernel b/include/tests_kernel index 1eed32ad..569b2b89 100644 --- a/include/tests_kernel +++ b/include/tests_kernel @@ -667,7 +667,10 @@ ReportException "${TEST_NO}:1" "Can't determine kernel version on disk, need debug data" fi elif [ -f ${ROOTDIR}boot/vmlinuz-linux ] || [ -f ${ROOTDIR}boot/vmlinuz-linux-lts ] || [ -f "$(${LSBINARY} -t ${ROOTDIR}boot/vm[l0-9]* 2> /dev/null | ${HEADBINARY} -1)" ]; then - if [ -f ${ROOTDIR}boot/vmlinuz-linux ]; then + if [ -f ${ROOTDIR}boot/vmlinuz ]; then + LogText "Result: found ${ROOTDIR}boot/vmlinuz" + FOUND_VMLINUZ=${ROOTDIR}boot/vmlinuz + elif [ -f ${ROOTDIR}boot/vmlinuz-linux ]; then LogText "Result: found ${ROOTDIR}boot/vmlinuz-linux" FOUND_VMLINUZ=${ROOTDIR}boot/vmlinuz-linux elif [ -f ${ROOTDIR}boot/vmlinuz-linux-lts ]; then |