[ https://issues.apache.org/jira/browse/HDFS-7058?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14310962#comment-14310962 ]
Konstantin Shvachko commented on HDFS-7058: ------------------------------------------- I would do it as in append test. # Use /user/USERNAME/dir? as a directory # Don't need NAMENODE in the path as it is already in the command # We should -cat after truncating to make sure the length is right > Tests for truncate CLI > ---------------------- > > Key: HDFS-7058 > URL: https://issues.apache.org/jira/browse/HDFS-7058 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: test > Affects Versions: 3.0.0 > Reporter: Konstantin Shvachko > Assignee: Dasha Boudnik > Attachments: HDFS-7058.patch > > > Modify TestCLI to include general truncate tests. -- This message was sent by Atlassian JIRA (v6.3.4#6332)