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

CURRENT_TEST: main.mysql_binary_zero_insert 'grep' is not recognized as an internal or external command, operable program or batch file.

    XMLWordPrintable

Details

    Description

      main.mysql_binary_zero_insert            [ fail ]
              Test ended at 2021-11-07 18:30:21
       
      CURRENT_TEST: main.mysql_binary_zero_insert
      'grep' is not recognized as an internal or external command,
      operable program or batch file.
      mysqltest: At line 118: exec of 'C:\work\server\xxx\client\\Debug\mysqldump.exe --defaults-file=C:/work/server/xxx/mysql-test/var/my.cnf --defaults-group-suffix=.1 test tb --hex-blob | grep -A8 INSERT > C:/work/server/xxx/mysql-test/var/tmp/dump.sql' failed, error: 255, status: 255, errno: 2
      Output from before failure:
      # MYSQL_DUMP test tb --hex-blob | grep INSERT > MYSQL_TMP_DIR/dump.sql
      

      Please, no tests with "exec grep" , without checking if grep indeed exists on the test machine.

      If possible do
      --source include/search_pattern_in_file.inc

      Or replace grep with perl invocation, perl exists on the test box, obviously.
      If even this is not possible (which I doubt), exclude this test from Windows.

      The bug possibly exists prior to 10.7, I did not check.

      Attachments

        Issue Links

          Activity

            People

              bnestere Brandon Nesterenko
              wlad Vladislav Vaintroub
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

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