@AfterClass
  public static void afterTests() throws Exception {
    File file = new File(fileName);
    file.delete();
  }
TestBeeLineHistory - executes tests of the !history command of BeeLine
beeline/src/test/org/apache/hive/beeline/TestBeeLineHistory.java