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

test_if_hard_path() crashes on recursively resolving $HOME

    XMLWordPrintable

Details

    • Bug
    • Status: Confirmed (View Workflow)
    • Major
    • Resolution: Unresolved
    • 10.6, 10.11, 11.4, 11.8, 12.3
    • 10.11, 11.4, 11.8, 12.3
    • None
    • None

    Description

      apply this change (let's say your tree is in ~/foo/bar/mariadb):

      --- a/mysql-test/main/symlink.test
      +++ b/mysql-test/main/symlink.test
      @@ -40,7 +40,7 @@ drop table t2;
       
       --replace_result $MYSQLTEST_VARDIR MYSQLTEST_VARDIR
       eval create table t9 (a int not null auto_increment, b char(16) not null, primary key (a)) 
      -engine=myisam data directory="$MYSQLTEST_VARDIR/tmp" index directory="$MYSQLTEST_VARDIR/run";
      +engine=myisam data directory="~/foo/bar/mariadb/mysql-test/var/tmp" index directory="$MYSQLTEST_VARDIR/run";
       
       insert into t9 select * from t1;
       check table t9;
      

      run

      $ HOME='~/' ./mtr main.symlink
      

      Attachments

        Activity

          People

            sanja Oleksandr Byelkin
            serg Sergei Golubchik
            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.