Kengo Seki created YETUS-135:
--------------------------------

             Summary: asflicense with nobuild is tricked if wrong path is 
specified for asflicense-rat-jar option
                 Key: YETUS-135
                 URL: https://issues.apache.org/jira/browse/YETUS-135
             Project: Yetus
          Issue Type: Bug
          Components: Test Patch
            Reporter: Kengo Seki


{code}
[sekikn@mobile yetus]$ dev-support/test-patch.sh --build-tool=nobuild 
--plugins=all YETUS-122 --asflicense-rat-jar=foo

(snip)

============================================================================
============================================================================
             Determining number of patched ASF License errors
============================================================================
============================================================================


cd /Users/sekikn/yetus
/Library/Java/JavaVirtualMachines/jdk1.7.0_80.jdk/Contents/Home/bin/java -jar 
foo -s /private/tmp/yetus-25276.13094/asf.xsl /Users/sekikn/yetus > 
/private/tmp/yetus-25276.13094/patch-asflicense.txt 2>&1


There appear to be 0 ASF License warnings after applying the patch.

(snip)

| Vote |      Subsystem |  Runtime   | Comment
============================================================================
|   0  |        reexec  |  0m 17s    | precommit patch detected. 
|  +1  |       @author  |  0m 00s    | The patch does not contain any @author 
|      |                |            | tags.
|  +1  |    shellcheck  |  0m 00s    | There were no new shellcheck issues. 
|  +1  |    whitespace  |  0m 00s    | Patch has no whitespace issues. 
|  +1  |    asflicense  |  0m 01s    | Patch does not generate ASF License 
|      |                |            | warnings.
|      |                |  0m 37s    | 

(snip)

[sekikn@mobile yetus]$ cat /private/tmp/yetus-25276.13094/patch-asflicense.txt
Tue Oct 27 13:30:48 JST 2015
cd /Users/sekikn/yetus
/Library/Java/JavaVirtualMachines/jdk1.7.0_80.jdk/Contents/Home/bin/java -jar 
foo -s /private/tmp/yetus-25276.13094/asf.xsl /Users/sekikn/yetus
Error: Unable to access jarfile foo
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to