1. 01 12月, 2020 2 次提交
    • S
      ktest.pl: If size of log is too big to email, email error message · 8cd6bc03
      Steven Rostedt (VMware) 提交于
      If the size of the error log is too big to send via email, and the sending
      fails, it wont email any result. This can be confusing for the user who is
      waiting for an email on the completion of the tests.
      
      If it fails to send email, then try again without the log file stating that
      it failed to send an email. Obviously this will not be of use if the sending
      of email failed for some other reasons, but it will at least give the user
      some information when it fails for the most common reason.
      
      Cc: stable@vger.kernel.org
      Fixes: c2d84ddb ("ktest.pl: Add MAIL_COMMAND option to define how to send email")
      Signed-off-by: NSteven Rostedt (VMware) <rostedt@goodmis.org>
      8cd6bc03
    • L
      ktest.pl: Fix incorrect reboot for grub2bls · 271e0c9d
      Libo Chen 提交于
      This issue was first noticed when I was testing different kernels on
      Oracle Linux 8 which as Fedora 30+ adopts BLS as default. Even though a
      kernel entry was added successfully and the index of that kernel entry was
      retrieved correctly, ktest still wouldn't reboot the system into
      user-specified kernel.
      
      The bug was spotted in subroutine reboot_to where the if-statement never
      checks for REBOOT_TYPE "grub2bls", therefore the desired entry will not be
      set for the next boot.
      
      Add a check for "grub2bls" so that $grub_reboot $grub_number can
      be run before a reboot if REBOOT_TYPE is "grub2bls" then we can boot to
      the correct kernel.
      
      Link: https://lkml.kernel.org/r/20201121021243.1532477-1-libo.chen@oracle.com
      
      Cc: stable@vger.kernel.org
      Fixes: ac246645 ("ktest: introduce grub2bls REBOOT_TYPE option")
      Signed-off-by: NLibo Chen <libo.chen@oracle.com>
      Signed-off-by: NSteven Rostedt (VMware) <rostedt@goodmis.org>
      271e0c9d
  2. 11 8月, 2020 2 次提交
  3. 02 7月, 2020 4 次提交
  4. 01 7月, 2020 4 次提交
  5. 10 3月, 2020 3 次提交
  6. 31 5月, 2019 1 次提交
  7. 11 5月, 2019 5 次提交
  8. 18 4月, 2019 3 次提交
  9. 11 4月, 2018 1 次提交
  10. 08 4月, 2018 5 次提交
  11. 07 4月, 2018 10 次提交