diff options
author | Johannes Segitz <jsegitz@suse.de> | 2022-01-25 11:55:52 +0300 |
---|---|---|
committer | Johannes Segitz <jsegitz@suse.de> | 2022-01-25 11:55:52 +0300 |
commit | 521487310f569e76c1f6c0c16ea63a60a398b719 (patch) | |
tree | b3f13444c8075f4844a188de9a2c6fbd7d6eaa7a /include | |
parent | ad5dc53a5f01674bf2c89072dd65a33555c51ff1 (diff) |
check /boot/vmlinuz as a symlink in the reboot test
Diffstat (limited to 'include')
-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 610fd325..875e7401 100644 --- a/include/tests_kernel +++ b/include/tests_kernel @@ -663,7 +663,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 |