Uploaded image for project: 'MariaDB Foundation Development'
  1. MariaDB Foundation Development
  2. MDBF-699

deb/rpm upgrade tests - logic wrong in tests

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Buildbot
    • None

    Description

      https://buildbot.mariadb.org/#/builders/601/builds/342

      + old_branch_digit=10
      ++ cut -d . -f2
      + old_major_digit=11
      ++ cut -d . -f1
      + new_branch_digit=11
      ++ cut -d . -f2
      + new_major_digit=5
      + (( old_branch_digit == 10 ))
      + (( old_major_digit == 11 ))
      + (( new_branch_digit == 11 ))
      + (( new_major_digit != 0 ))
      + bb_log_err 'This does not look like a major upgrade from 10.11 to 11.0:'
      + set +x
      ERROR: This does not look like a major upgrade from 10.11 to 11.0:
      + diff -u /tmp/version.old /tmp/version.new
      --- /tmp/version.old	2024-05-30 21:17:46.860501015 +0000
      +++ /tmp/version.new	2024-05-30 21:19:30.987997495 +0000
      @@ -1 +1 @@
      -10.11.6
      +11.5.2
      + exit 1
      

      scripts/bash_lib.sh

      Attachments

        Activity

          People

            faust Faustin Lammler
            danblack Daniel Black
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: