Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-3257

bootstrap-test-env.sh version check fails when grep has --colour option enabled.

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.9.0.1
    • Fix Version/s: 0.10.0.0
    • Component/s: system tests
    • Labels:

      Description

      When checking the versions, we use the following command:

      vagrant --version | egrep -o "[0-9]+\.[0-9]+\.[0-9]+"
      

      This does not work if user box has --colour option enabled. In my case it complains:
      Found Vagrant version 1.8.1. Please upgrade to 1.6.4 or higher (see http://www.vagrantup.com for details)

      We should change this line to:

      vagrant --version | egrep --colour=never -o "[0-9]+\.[0-9]+\.[0-9]+"
      

        Attachments

          Activity

            People

            • Assignee:
              chenzhu chen zhu
              Reporter:
              becket_qin Jiangjie Qin
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: