[ 
https://issues.apache.org/jira/browse/HIVE-388?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12703467#action_12703467
 ] 

Edward Capriolo commented on HIVE-388:
--------------------------------------

In the Test case hwi/TestHWISessionManager. I have a method to compare files.

{noformat}
public boolean isFileContentEqual(File one, File two) throws Exception {
{noformat}

It is not diff, but it can compare files.

> Remove dependency of native diff binary
> ---------------------------------------
>
>                 Key: HIVE-388
>                 URL: https://issues.apache.org/jira/browse/HIVE-388
>             Project: Hadoop Hive
>          Issue Type: Improvement
>          Components: Testing Infrastructure
>    Affects Versions: 0.4.0
>            Reporter: Johan Oskarsson
>            Priority: Trivial
>             Fix For: 0.4.0
>
>
> The current unit tests use the native diff command to compare output files. 
> Running the tests on hudson.zones.apache.org, a "Sun Microsystems Inc. SunOS 
> 5.10" machine causes them to fail. See: 
> http://hudson.zones.apache.org/hudson/job/Hive-trunk-h0.18/55/
> We should remove the dependency on the diff command to allow the tests to 
> work on more platforms.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to