Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-40023

Clean up dead code in check_expected_crash_and_restart

    XMLWordPrintable

Details

    • Task
    • Status: Open (View Workflow)
    • Minor
    • Resolution: Unresolved
    • None
    • Tests, MTR
    • None

    Description

      check_expected_crash_and_restart() in mariadb-test-run.pl contains dead code for restart_bindir (never used by any test) and silently ignores unknown commands in the expect file. This made it easy for bugs like https://jira.mariadb.org/browse/MDEV-39153 to go undetected.

      Remove the unused restart_bindir handler from mariadb-test-run.pl and start_mysqld.inc

      Call mtr_error() when an unrecognized command is found in the expect file

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              farihais Fariha Shaikh
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.