[
https://issues.apache.org/jira/browse/YETUS-466?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16759625#comment-16759625
]
Allen Wittenauer commented on YETUS-466:
----------------------------------------
if there is a problem here, YETUS-688 will make it go away. Closing as won't
fix.
> yetus_verify_entry returns wrong result when test at start or end of
> NEEDED_TESTS String
> ----------------------------------------------------------------------------------------
>
> Key: YETUS-466
> URL: https://issues.apache.org/jira/browse/YETUS-466
> Project: Yetus
> Issue Type: Bug
> Components: Test Patch
> Reporter: stack
> Priority: Major
>
> I noticed this when a test that is claimed needed:
> {code}
> [Fri Oct 28 11:46:58 PDT 2016 DEBUG]: Adding hbaseprotoc to NEEDED_TESTS
> {code}
> ... 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:
> {code}
> 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
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)