Uploaded image for project: 'Yetus'
  1. Yetus
  2. YETUS-466

yetus_verify_entry returns wrong result when test at start or end of NEEDED_TESTS String

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • None
    • None
    • Precommit
    • None

    Description

      I noticed this when a test that is claimed needed:

      [Fri Oct 28 11:46:58 PDT 2016 DEBUG]: Adding hbaseprotoc to NEEDED_TESTS
      

      ... but then a a later call to verify_needed_test was claiming the test was not needed (digging, its whether test is in the NEEDED_TESTS list... which it is in my case... just the last one on the list).

      Illustration after defining yetus_verify_entry in my local shell:

      kalashnikov:precommit stack$ x="asflicense  cc  unit  hbaseprotoc "
      kalashnikov:precommit stack$ yetus_verify_entry x asflicense
      kalashnikov:precommit stack$ echo $?
      1
      kalashnikov:precommit stack$ x="xxx asflicense  cc  unit  hbaseprotoc "
      kalashnikov:precommit stack$ yetus_verify_entry x asflicense
      kalashnikov:precommit stack$ echo $?
      0
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              stack Michael Stack
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: