Uploaded image for project: 'Percona Server for MySQL'
  1. Percona Server for MySQL
  2. PS-8152

Fix spelling errors in new MTR testcases for UDF encryption

Details

    • Yes

    Description

      Please find the fix for some spelling mistake in MTR testcase. I have corrected it, and re-recorded the result files. 

      Please find the diff below:

      diff --git a/mysql-test/include/percona_encryption_udf_xsa.inc b/mysql-test/include/percona_encryption_udf_xsa.inc
      index 9cab2a60c60..31313767bd5 100644
      --- a/mysql-test/include/percona_encryption_udf_xsa.inc
      +++ b/mysql-test/include/percona_encryption_udf_xsa.inc
      @@ -36,7 +36,7 @@ if ($algorithm == 'RSA')
         --echo ****** [$algorithm][$key_length] checking encryption with public key of NULL message
         --error ER_UDF_ERROR
         SELECT asymmetric_encrypt(@algorithm, @message, @pub);
      -  --echo ****** [$algorithm][$key_length] checking encryption with privcate key of NULL message
      +  --echo ****** [$algorithm][$key_length] checking encryption with private key of NULL message
         --error ER_UDF_ERROR
         SELECT asymmetric_encrypt(@algorithm, @message, @priv);
       }
      diff --git a/mysql-test/r/percona_encryption_udf_rsa_1024.result b/mysql-test/r/percona_encryption_udf_rsa_1024.result
      index 2ead2cec155..0bf44ee8040 100644
      --- a/mysql-test/r/percona_encryption_udf_rsa_1024.result
      +++ b/mysql-test/r/percona_encryption_udf_rsa_1024.result
      @@ -25,7 +25,7 @@ INSERT INTO digest_type(digest_name, builtin_template) VALUES
       **** [RSA][1024] checking operations on NULL message
       ****** [RSA][1024] checking encryption with public key of NULL message
       ERROR HY000: asymmetric_encrypt<string> UDF failed; Message cannot be NULL
      -****** [RSA][1024] checking encryption with privcate key of NULL message
      +****** [RSA][1024] checking encryption with private key of NULL message
       ERROR HY000: asymmetric_encrypt<string> UDF failed; Message cannot be NULL
       **** [RSA][1024][message_len=0] checking operations
       ****** [RSA][1024][message_len=0] checking encryption with public key
      diff --git a/mysql-test/r/percona_encryption_udf_rsa_16384.result b/mysql-test/r/percona_encryption_udf_rsa_16384.result
      index 908125a5ec3..5614d76ba85 100644
      --- a/mysql-test/r/percona_encryption_udf_rsa_16384.result
      +++ b/mysql-test/r/percona_encryption_udf_rsa_16384.result
      @@ -25,7 +25,7 @@ INSERT INTO digest_type(digest_name, builtin_template) VALUES
       **** [RSA][16384] checking operations on NULL message
       ****** [RSA][16384] checking encryption with public key of NULL message
       ERROR HY000: asymmetric_encrypt<string> UDF failed; Message cannot be NULL
      -****** [RSA][16384] checking encryption with privcate key of NULL message
      +****** [RSA][16384] checking encryption with private key of NULL message
       ERROR HY000: asymmetric_encrypt<string> UDF failed; Message cannot be NULL
       **** [RSA][16384][message_len=0] checking operations
       ****** [RSA][16384][message_len=0] checking encryption with public key
      diff --git a/mysql-test/r/percona_encryption_udf_rsa_4096.result b/mysql-test/r/percona_encryption_udf_rsa_4096.result
      index 0bcf613be61..9d2464458ef 100644
      --- a/mysql-test/r/percona_encryption_udf_rsa_4096.result
      +++ b/mysql-test/r/percona_encryption_udf_rsa_4096.result
      @@ -25,7 +25,7 @@ INSERT INTO digest_type(digest_name, builtin_template) VALUES
       **** [RSA][4096] checking operations on NULL message
       ****** [RSA][4096] checking encryption with public key of NULL message
       ERROR HY000: asymmetric_encrypt<string> UDF failed; Message cannot be NULL
      -****** [RSA][4096] checking encryption with privcate key of NULL message
      +****** [RSA][4096] checking encryption with private key of NULL message
       ERROR HY000: asymmetric_encrypt<string> UDF failed; Message cannot be NULL
       **** [RSA][4096][message_len=0] checking operations
       ****** [RSA][4096][message_len=0] checking encryption with public key

      Attachments

        Issue Links

          Activity

            People

              yura.sorokin Yura Sorokin
              mohit.joshi Mohit Joshi
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - Not Specified
                  Not Specified
                  Logged:
                  Time Spent - 30 minutes
                  30m

                  Smart Checklist