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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.9.0.1
    • 0.10.0.0
    • system tests

    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

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

            Dates

              Created:
              Updated:
              Resolved: